You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@slider.apache.org by go...@apache.org on 2015/03/11 15:47:32 UTC

incubator-slider git commit: SLIDER-806 HBase App Package build issues

Repository: incubator-slider
Updated Branches:
  refs/heads/develop 9a7bedf29 -> e6c988f55


SLIDER-806 HBase App Package build issues


Project: http://git-wip-us.apache.org/repos/asf/incubator-slider/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-slider/commit/e6c988f5
Tree: http://git-wip-us.apache.org/repos/asf/incubator-slider/tree/e6c988f5
Diff: http://git-wip-us.apache.org/repos/asf/incubator-slider/diff/e6c988f5

Branch: refs/heads/develop
Commit: e6c988f55f192699d71a6d01b2391a162ef3138a
Parents: 9a7bedf
Author: Gour Saha <go...@apache.org>
Authored: Wed Mar 11 07:47:23 2015 -0700
Committer: Gour Saha <go...@apache.org>
Committed: Wed Mar 11 07:47:23 2015 -0700

----------------------------------------------------------------------
 app-packages/hbase-win/README.txt | 10 ++++++++--
 app-packages/hbase/README.md      | 11 +++++++++--
 2 files changed, 17 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/e6c988f5/app-packages/hbase-win/README.txt
----------------------------------------------------------------------
diff --git a/app-packages/hbase-win/README.txt b/app-packages/hbase-win/README.txt
index 6389fb2..8e9c3b2 100644
--- a/app-packages/hbase-win/README.txt
+++ b/app-packages/hbase-win/README.txt
@@ -21,17 +21,23 @@ appConfig-default.json and resources-default.json are not required to be package
 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.
 
+Note: Post 0.94 versions of hbase, tarball filenames have a -bin suffix (e.g.
+      hbase-0.98.10.1-hadoop2-bin.tar.gz), although the untarred top level
+      directory does not (e.g hbase-0.98.10.1-hadoop2). We suggest renaming
+      the tar ball file to remove the -bin suffix before proceeding (e.g.
+      hbase-0.98.10.1-hadoop2.tar.gz). In fact the mvn command below assumes
+      you have done so, or else app create will fail.
+
 Command:
 mvn clean package -Phbase-app-package-win -Dpkg.version=<version>
    -Dpkg.name=<file name of app zip file> -Dpkg.src=<folder location where the pkg is available>
 
 Example:
 mvn clean package -Phbase-app-package-win -Dpkg.version=0.98.5-hadoop2
-  -Dpkg.name=hbase-0.98.5-hadoop2-bin.zip
+  -Dpkg.name=hbase-0.98.5-hadoop2.zip
   -Dpkg.src=/Users/user1/Downloads
 
 App package can be found in

http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/e6c988f5/app-packages/hbase/README.md
----------------------------------------------------------------------
diff --git a/app-packages/hbase/README.md b/app-packages/hbase/README.md
index ae9763b..51a7ade 100644
--- a/app-packages/hbase/README.md
+++ b/app-packages/hbase/README.md
@@ -24,6 +24,13 @@ for a one-node cluster.
 OPTION-I: Use a downloaded tarball
 OPTION-II: Use the tarball from the local repository
 
+Note: Post 0.94 versions of hbase, tarball filenames have a -bin suffix (e.g.
+      hbase-0.98.10.1-hadoop2-bin.tar.gz), although the untarred top level
+      directory does not (e.g hbase-0.98.10.1-hadoop2). We suggest renaming
+      the tar ball file to remove the -bin suffix before proceeding with either
+      of the below options (e.g. hbase-0.98.10.1-hadoop2.tar.gz). In fact all the
+      mvn commands below assumes you have done so, or else app create will fail.
+
 ## OPTION - I 
 
 To create the app package you will need the HBase tarball and invoke mvn command
@@ -37,7 +44,7 @@ Command:
 Example:
 
     mvn clean package -Phbase-app-package -Dpkg.version=0.98.5-hadoop2
-      -Dhbase.version=hbase-0.98.5-hadoop2-bin.tar.gz
+      -Dhbase.version=hbase-0.98.5-hadoop2.tar.gz
       -Dpkg.src=/Users/user1/Downloads/0.98.5-hadoop2
 
 App package can be found in
@@ -49,7 +56,7 @@ App package can be found in
 You need the HBase version available on local maven repo to create the Slider App Package for HBase.
 
 Download the tarball for HBase:
-  e.g. path to tarball `~/Downloads/hbase-0.98.3-hadoop2-bin.tar.gz`
+  e.g. path to tarball `~/Downloads/hbase-0.98.3-hadoop2.tar.gz`
 
 Note for Phoenix user:
 If you want Phoenix to be deployed, you should repackage HBase tarball such that phoenix-server.jar is contained in the lib directory of the tarball.