This project helps to set up a 1 node Accumulo cluster on Vagrant.
You need VirtualBox and Vagrant
Once installed, you can pre-fetch the referenced Centos 6.5 image:
vagrant box add centos65-x86_64-20140116 https://github.com/2creatives/vagrant-centos/releases/download/v6.5.3/centos65-x86_64-20140116.box
git clone [email protected]:MammothData/accumulo-vagrant.git
cd accumulo-vagrant
vagrant up
#Log into Ambari (username:password admin:admin) and start up the Hadoop cluster
192.168.64.101:8080
#Once its running, log in as root and start Accumulo
vagrant ssh
sudo su
start-all.sh #this accumulo start script is in your path
accumulo shell -u root
"message" : "Attempted to add unknown hosts to a cluster. These hosts have not been registered with the server: ambari"
AMBARI_URL=192.168.64.101:8080
#Check which hosts are registered:
curl -Hs "X-Requested-By: ambari" -u admin:admin -i http://$AMBARI_URL/api/v1/hosts
#Delete the blueprint config:
curl -H "X-Requested-By: ambari" -X DELETE -u admin:admin http://$AMBARI_URL/api/v1/blueprints/single-node-hdfs-yarn
#Delete the Ambari cluster:
curl -H "X-Requested-By: ambari" -X DELETE -u admin:admin http://$AMBARI_URL/api/v1/clusters/MySingleNodeCluster
This project was derived from the SequenceIQ ambari-vagrant project, which in-turn was derived from the Apache Ambari Quick Start Guide and modified.