Tools for installing, starting, and destroying HBase, Accumulo, and Storm slider apps on YARN.
WARNING: This is intended for POC/sandbox testing, may not be idempotent so DO NOT use on an existing Production cluster!!!
Clone the repo
Set the necessary cluster variables in slider_setup.conf
, it shouldn't be necessary to change any other values but thoe ones below
ZK_QUORUM=“zk1:2181,zk2:2181,zk3:2181”
RM_ADDRESS=“rm1:8050”
RM_SCHED_ADDRESS=“rm1:8030”
DEFAULT_FS=“hdfs://nn1:8020”
slider_setup is the main script and handles the following
The following args are required
HBase Example:
./slider_setup -f slider_setup.conf -p hbase -w 5 -n hbase-slider
Accumulo Example:
./slider_setup -f slider_setup.conf -p accumulo -w 3 -n accumulo-slider
Storm Example:
./slider_setup -f slider_setup.conf -p storm -w 3 -n storm-slider
slider_destroy will do the following
The following args are required
-f
- The path to the slider_setup.conf
that has been modified with cluster info-n
- The name of the app, this was provided to the slider_setup toolHBase Example:
./slider_destroy -f slider_setup.conf -n hbase-slider
Accumulo Example:
./slider_destroy -f slider_setup.conf -n accumulo-slider
Storm Example:
./slider_destroy -f slider_setup.conf -n storm-slider