Uploaded image for project: 'Slider'
  1. Slider
  2. SLIDER-806

HBase App Package build issues

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Slider 0.60, Slider 0.70
    • None
    • application/hbase
    • None

    Description

      There are a few issues when following the instructions to build Slider HBase app package. The build will likely still be successful. But at 'slider install' and 'slider create' time, they will cause failures.

      1. Issue with the '-bin' in the hbase tarball.
      If the hbase tarball file name has '-bin', e.g. hbase-0.98.11-bin.tar.gz, we will a problem.

      e.g. I am using this command to generate the hbase app pacakge:

      mvn clean package -DskipTests -Phbase-app-package -Dpkg.version=0.98.11 -Dhbase.version=0.98.11 -Dpkg.name=hbase-0.98.11-bin.tar.gz -Dpkg.src=/home/bigdata/incubator-slider/app-packages/hbase
      

      Inside the generated package, the metainfo.xml has:

                <package>
                  <type>tarball</type>
                  <name>files/hbase-0.98.11.tar.gz</name>
                </package>
      

      Inside the package, the real file name is hbase-0.98.11-bin.tar.gz.
      The mismatch of the hbase tarball file name will cause confusion and instance create time failure.

      2. The generated package name from the above command is slider-hbase-app-package-0.70.0-incubating.zip. But in the generated appConfig-default.json inside the package, we have:

          "global": {
              "application.def": ".slider/package/HBASE/slider-hbase-app-package-0.98.11.zip",
              "create.default.zookeeper.node": "true",
              "java_home": "/usr/jdk64/jdk1.7.0_67",
      

      The mismatch of the package zip will cause confusion and instance create time failure.

      Attachments

        Issue Links

          Activity

            People

              gsaha Gour Saha
              jinghe Jerry He
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: