Modify README.txt for HBase app package
Project: http://git-wip-us.apache.org/repos/asf/incubator-slider/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-slider/commit/3be6c869 Tree: http://git-wip-us.apache.org/repos/asf/incubator-slider/tree/3be6c869 Diff: http://git-wip-us.apache.org/repos/asf/incubator-slider/diff/3be6c869 Branch: refs/heads/feature/SLIDER-151_Implement_full_slider_API_in_REST_and_switch_client_to_it Commit: 3be6c86922d0413163e65766d827bfcc03d60f88 Parents: 209cee4 Author: tedyu <yuzhih...@gmail.com> Authored: Tue Jun 24 14:00:22 2014 -0700 Committer: tedyu <yuzhih...@gmail.com> Committed: Tue Jun 24 14:00:22 2014 -0700 ---------------------------------------------------------------------- app-packages/hbase/README.txt | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/3be6c869/app-packages/hbase/README.txt ---------------------------------------------------------------------- diff --git a/app-packages/hbase/README.txt b/app-packages/hbase/README.txt index fb84750..78d033e 100644 --- a/app-packages/hbase/README.txt +++ b/app-packages/hbase/README.txt @@ -17,10 +17,17 @@ How to create a Slider package for HBase? +The version of HBase used for the app package can be adjusted by adding a +flag such as + -Dhbase.version=0.98.3 + Copy the tarball for HBase: cp ~/Downloads/hbase-0.98.3-hadoop2-bin.tar.gz package/files/ -If, HBase tarball is publised in maven repository, you can use: +Use the following command to install HBase tarball locally: + mvn install:install-file -Dfile=<path-to-tarball> -DgroupId=org.apache.hbase -DartifactId=hbase -Dversion=0.98.3-hadoop2 -Dclassifier=bin -Dpackaging=tar.gz + +After HBase tarball is publised locally in maven repository, you can use the following command: mvn clean package -DskipTests -Phbase-app-package App package can be found in app-packages/HBase/target/apache-slider-hbase-${hbase.version}-app-package-${slider.version}.zip @@ -36,10 +43,6 @@ work well as the default configuration for Slider apps. So it is advisable that when you create an application package for Slider, include sample/default resources.json and appConfig.json for a minimal Yarn cluster. -The version of HBase used for the app package can be adjusted by adding a -flag such as - -Dhbase.version=0.98.3 - If an HBase version older than 0.98.3 is desired, it must be installed in the local maven repo.