To install the Accumulo Application Package:
Make a working directory for the Accumulo-on-Slider application package:
mkdir -p /usr/work/app-packages/accumulo
Download the Accumulo-on-Slider application package for your operating system to the
/usr/work/app-packages/accumulo
directory. For example, use the following command to download the centos6 version:cd /usr/work/app-packages/accumulo wget http://public-repo-1.hortonworks.com/HDP/centos6/2.x/GA/2.2.0.0/slider-app-packages/accumulo/slider-accumulo-app-package-1.6.1.2.2.0.0-2041.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 ACCUMULO --package <package path>
Where
<user>
is the user who will create the Accumulo application instance.For example, if user "hw_qa" downloaded the Accumulo package to the
/usr/work/app-packages/accumulo
folder:su hw_qa /usr/hdp/current/slider-client/bin/./slider install-package --name ACCUMULO --package /usr/work/app-packages/accumulo/slider-accumulo-app-package-1.6.1.2.2.0.0-2041.zip
Note that the
--name
(in this case, "ACCUMULO") 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/ACCUMULO/*.zip
Note | |
---|---|
Accumulo on Slider is not supported on Windows, as Accumulo is not currently supported on Windows. |