Jerry He created SLIDER-806:
-------------------------------

             Summary: HBase App Package build issues
                 Key: SLIDER-806
                 URL: https://issues.apache.org/jira/browse/SLIDER-806
             Project: Slider
          Issue Type: Bug
          Components: application/hbase
    Affects Versions: Slider 0.60, Slider 0.70
            Reporter: Jerry He


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:
{noformat}
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
{noformat}
Inside the generated package, the metainfo.xml has:
{noformat}
          <package>
            <type>tarball</type>
            <name>files/hbase-0.98.11.tar.gz</name>
          </package>
{noformat}
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:
{noformat}
    "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",
{noformat}
The mismatch of the package zip will cause confusion and instance create time 
failure.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to