Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

Accumulo Dev Virtual Machine

Based on Original from

Java was removed from ubuntu. Modified to use for java.

To install on Amazon EC2

Set up a m1.large instance manually using aws console ... or use Chef

Set up chef

  • Install ruby and rubygems (If not already installed)

sudo gem install knife-ec2 chef

mkdir ~/.chef

cp ~/.chef

  • setup your enviroment variables for your keys (in .profile or another file)



  • create a amazon ec2 key pair for accumulo and save it to ~/.ssh/accumulo.pem

knife ec2 server create -r 'role[webserver]' -I ami-08f40561 -f m1.large knife ec2 server list

  • get the ip address and connect to it

ssh -i ~/.ssh/accumulo.pem ubuntu@ec2box

sh -c "$(curl -fsSL"

  • set up your instance name and password

~/accumulo/bin/accumulo init

  • start the services


  • Log into the console

~/accumulo/bin/accumulo shell -u root

To Install Locally (Vagrant Instance)

NOTE: The VM is configured to use 6GB. You will need at least 8GB of ram in your host machine. Only tested on a Mac. Manually open development box in VirtualBox. Give it two cores, and make sure "Use host I/O cache" is enabled on the SATA controller.

Windows Install Recommended if installing vagrant on Windows

Mac Install macosx installer for git (if you dont already have it)

vagrant binary (if you can't install it from the gem for some reason)


Linux Install Install ruby and rubygems

sudo gem install vagrant

vagrant up

vagrant ssh # this will login to the vm as vagrant, you will need to su to ubuntu

sudo su - ubuntu

the expects to be run as ubuntu user

sh /vagrant/

~/accumulo/bin/accumulo init


~/accumulo/bin/accumulo shell -u root

Optional to set up gui.

uncomment out "config.vm.boot_mode = :gui" in VagrantFile

login and password is : ubuntu

Reinstall guest additions to get xserver module loaded

Go to the tab in VirtualBox, Devices -> Install Guest Additions..

sudo mount /dev/cdrom /media/cdrom

sudo sh /media/cdrom/


  • this will run openbox

  • Show accumulo classpath ~/accumulo/bin/accumulo classpath

  • show the available instances ~/accumulo/bin/accumulo org.apache.accumulo.server.util.ListInstances

  • example for inserting data
    ~/accumulo/bin/accumulo org.apache.accumulo.examples.helloworld.InsertWithBatchWriter cloud table root password


No description, website, or topics provided.






No packages published