You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@slider.apache.org by "Gour Saha (JIRA)" <ji...@apache.org> on 2015/03/11 16:06:38 UTC

[jira] [Resolved] (SLIDER-806) HBase App Package build issues

     [ https://issues.apache.org/jira/browse/SLIDER-806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gour Saha resolved SLIDER-806.
------------------------------
    Resolution: Fixed

Please feel free to keep this bug open if you think otherwise.

> 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
>            Assignee: Gour Saha
>
> 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)