TT Bigdata TT Bigdata
首页
GitHub (opens new window)
JaneTTR

JaneTTR

数据酿造智慧,每一滴都是沉淀!
  • 报错解决

    • Ambari 报错
    • Bigtop 报错
      • Hadoop

      • Spark

      • Trino

      • Hudi

      • Paimon

      • Livy

      • Flink

      • Atlas

      • Superset

      • Jsvc

      • Zookeeper

      • Hive

      • Sqoop

      • Cloudbeaver

      • Bigtop-select

        • bigtop-select 打包缺 compat 报错修复
        • bigtop-select 打包缺 control 文件报错修复
        • Knox

        • Hue

    • 系统适配

    • 监控与调优

    • BUG临时处理
    • 实验室

    • 运维资料
    • 报错解决
    • Bigtop 报错
    • Bigtop-select
    JaneTTR
    2025-07-16
    目录
    现象复现
    问题定位
    解决方法

    bigtop-select 打包缺 control 文件报错修复deb

    问题定位

    当我们在 Ubuntu 上对 bigtop-select 进行源码编译时,会遇到一些和官方默认环境不同的问题。 目前 bigtop 官方 deb 打包链路没有完全适配 Ubuntu,会直接暴露如下典型报错:

    # 现象复现

    编译命令如下:

    gradle bigtop-select-pkg \
      -PparentDir=/usr/bigtop \
      -Dbuildwithdeps=true \
      -PpkgSuffix -d
    
    1
    2
    3
    4

    命令执行界面

    实际日志输出:

    root@ubuntu22:/opt/modules/bigtop# gradle bigtop-select-pkg \
    > -PparentDir=/usr/bigtop \
    > -Dbuildwithdeps=true \
    > -PpkgSuffix
    Starting a Gradle Daemon (subsequent builds will be faster)
    > Task :bigtop-select-sdeb FAILED
    
    FAILURE: Build failed with an exception.
    
    * Where:
    Script '/opt/modules/bigtop/packages.gradle' line: 525
    
    * What went wrong:
    Execution failed for task ':bigtop-select-sdeb'.
    > java.io.FileNotFoundException: /opt/modules/bigtop/build/bigtop-select/deb/bigtop-select-3.2.0/debian/control (No such file or directory)
    
    * Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
    
    * Get more help at https://help.gradle.org
    
    BUILD FAILED in 16s
    4 actionable tasks: 4 executed
    root@ubuntu22:/opt/modules/bigtop#
    
    
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25

    # 问题定位

    • gradle 在 deb 打包时,必须保证 debian 目录下有 control 文件(debian 制包元数据核心文件)。
    • 如果缺失就会出现如上的 FileNotFoundException,打包无法继续。

    # 解决方法

    提示

    如何补齐 debian/control 及相关打包文件?具体步骤可参考这里: 解读-bigtop-select支持deb

    #Bigtop-select#Bigtop#错误排查
    bigtop-select 打包缺 compat 报错修复
    xmlsectool 依赖缺失问题解析

    ← bigtop-select 打包缺 compat 报错修复 xmlsectool 依赖缺失问题解析→

    最近更新
    01
    当前版本 2026/08
    08-29
    02
    把 Ambari Server HA 稳稳地跑起来
    08-17
    03
    从一次启用操作追到主备就绪
    08-17
    更多文章>
    Theme by Vdoing | Copyright © 2017-2026 JaneTTR | MIT License
    • 跟随系统
    • 浅色模式
    • 深色模式
    • 阅读模式