Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-3842

Fix failure of deb packaging of Hadoop

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.2.0
    • hadoop
    • None

    Description

      $ ./gradlew hadoop-pkg
      ...
      hadoop-3.3.4-src/hadoop-dist/pom.xml
      + mkdir -p build/share
      + cp -r target/staging/hadoop-project build/share/doc
      + cd hadoop-client-modules/hadoop-client/target/hadoop-client-3.3.4/share/hadoop/client/lib
      + ls
      + cp hadoop-hdfs-project/hadoop-hdfs-native-client/target/main/native/fuse-dfs/fuse_dfs build/bin
      + cp -r hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/include/hdfspp build/include/
      make[1]: Leaving directory '/home/ubuntu/srcs/bigtop/output/hadoop/hadoop-3.3.4'
       fakeroot debian/rules binary
      dh binary
         dh_testroot
         dh_prep
         dh_installdirs
         debian/rules override_dh_auto_install
      make[1]: Entering directory '/home/ubuntu/srcs/bigtop/output/hadoop/hadoop-3.3.4'
      env HADOOP_VERSION=3.3.4 \
      bash debian/install_hadoop.sh \
        --prefix=debian/tmp/ \
        --distro-dir=debian \
        --build-dir=/home/ubuntu/srcs/bigtop/output/hadoop/hadoop-3.3.4/build \
        --system-lib-dir=/usr/lib/ \
        --system-include-dir=/usr/include \
        --doc-dir=/usr/share/doc/hadoop-doc \
            --man-dir=/usr/share/man \
        --installed-lib-dir=/usr/lib/hadoop
      ++ getopt -n debian/install_hadoop.sh -o '' -l distro-dir: -l build-dir: -l prefix: -l doc-dir: -l bin-dir: -l man-dir: -l etc-default: -l hadoop-dir: -l hdfs-dir: -l yarn-dir: -l mapreduce-dir: -l var-hdfs: -l var-yarn: -l var-mapreduce: -l var-httpfs: -l var-kms: -l system-include-dir: -l system-lib-dir: -l etc-hadoop: -- --prefix=debian/tmp/ --distro-dir=debian --build-dir=/home/ubuntu/srcs/bigtop/output/hadoop/hadoop-3.3.4/build --system-lib-dir=/usr/lib/ --system-include-dir=/usr/include --doc-dir=/usr/share/doc/hadoop-doc --man-dir=/usr/share/man --installed-lib-dir=/usr/lib/hadoop
      debian/install_hadoop.sh: unrecognized option '--installed-lib-dir=/usr/lib/hadoop'
      + OPTS=' --prefix '\''debian/tmp/'\'' --distro-dir '\''debian'\'' --build-dir '\''/home/ubuntu/srcs/bigtop/output/hadoop/hadoop-3.3.4/build'\'' --system-lib-dir '\''/usr/lib/'\'' --system-include-dir '\''/usr/include'\'' --doc-dir '\''/usr/share/doc/hadoop-doc'\'' --man-dir '\''/usr/share/man'\'' --'
      make[1]: *** [debian/rules:55: override_dh_auto_install] Error 1
      make[1]: Leaving directory '/home/ubuntu/srcs/bigtop/output/hadoop/hadoop-3.3.4'
      make: *** [debian/rules:27: binary] Error 2
      dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2
      debuild: fatal error at line 1182:
      dpkg-buildpackage -us -uc -ui -b
       failed
      

      Attachments

        Issue Links

          Activity

            People

              iwasakims Masatake Iwasaki
              iwasakims Masatake Iwasaki
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m