Starts and manages an Accumulo instance in Marathon
Clone Amara on cluster where you have HDFS and Zookeeper running.
git clone https://github.com/mikewalch/amara.git
-
Create a config file and edit it for your environment. If you have
JAVA_HOME
,HADOOP_PREFIX
, andZOOKEEPER_HOME
set as environment variables in your shell, these values do not need to be set inconfig.json
as Amara will use what is set in your environment.cd amara/conf cp config.json.example config.json vim config.json
-
Download an Accumulo release tarball that matches the
AccumuloVersion
set inconfig.json
and copy it to theupload/
directory.cp accumulo-1.7.1-bin.tar.gz /path/to/amara/upload
Initialize Accumulo
cd amara/
./bin/amara init
Start Accumulo in Marathon
./bin/amara start
Destroy Accumulo in Marathon
./bin/amara destroy