tree: 8d3f4828095cebeea55d9e61df2bad715f9467ae [path history] [tgz]
  1. README.md
  2. appConfig-default.json
  3. appConfig-secured-default.json
  4. clientInstallConfig-default.json
  5. metainfo-secured.xml
  6. metainfo.xml
  7. pom.xml
  8. resources-default.json
  9. resources/
  10. src/
app-packages/hbase-nopkg/README.md

Create Slider App Package for HBase

appConfig-default.json and resources-default.json are not required to be packaged. These files are included as reference configuration for Slider apps and are suitable for a one-node cluster.

To create the app package you will need the HBase tarball and invoke mvn command with appropriate parameters. It is recommended that pkg.version be set to the same value as hbase.version.

Command:

mvn clean package -Phbase-resources -Dhbase.version=<hbase version> -Dpkg.version=<app package version>
   -Dpkg.name=<file name of app tarball> -Dpkg.src=<folder location where the pkg is available>

Example:

mvn clean package -Phbase-resources -Dhbase.version=1.1.4
  -Dpkg.version=1.1.4 -Dpkg.name=hbase-1.1.4-bin.tar.gz
  -Dpkg.src=/Users/user1/Downloads

App package can be found in

app-packages/hbase-nopkg/target/slider-hbase-resources-1.1.4.zip

Verifying the content

Verify the content using

zip -Tv slider-hbase-*.zip

Sample commands

unzip slider-hbase-resources-1.1.4.zip
slider resource --install --resource resources --destdir hbase
slider create hbase --template appConfig-default.json --resources resources-default.json --metainfo metainfo.xml
slider client --install --dest client_install_dir --name hbase --config clientInstallConfig-default.json