To install the HBase Application Package:
Make a working directory for the HBase-on-Slider application package:
mkdir -p /usr/work/app-packages/hbase
Download the HBase-on-Slider application package for your operating system to the
/usr/work/app-packages/hbase
directory. For example, use the following command to download the centos6 version:cd /usr/work/app-packages/hbase wget http://public-repo-1.hortonworks.com/HDP/centos6/2.x/updates/2.2.4.2/slider-app-packages/hbase/slider-hbase-app-package-0.98.4.2.2.4.2-2-hadoop2.zip
Use the following command format to install the application package on YARN:
su <user> /usr/hdp/current/slider-client/bin/./slider install-package --name HBASE --package <package path>
Where
<user>
is the user who will create the HBase application instance.For example, if you downloaded the HBase package to the
/usr/work/app-packages/hbase
folder:su <user> /usr/hdp/current/slider-client/bin/./slider install-package --name HBASE --package /usr/work/app-packages/hbase/slider-hbase-app-package-0.98.4.2.2.0.0-2041-hadoop2.zip
Note that the
--name
(in this case, "HBASE") should match the value of the<name>
element in the packagemetainfo.xml
flle, and that the install destination in HDFS is in the user's home directory under ./slider/package/HBASE/*.zip