Accumulo provides robust, scalable data storage. It is a scalable, distributed key-value store based on Google’s Bigtable and built on top of Apache Hadoop, Apache ZooKeeper, and Apache Thrift. Accumulo is the third most popular NoSQL wide column store behind Apache Cassandra and Hbase. Here Are the Steps on How to Install Apache Accumulo on Ubuntu Running on Single Cloud Server Instance. You have read our linked guides in this webpage to complete the work.

How to Install Apache Accumulo on Ubuntu

Hadoop

First install Apache Hadoop with HDFS. This is the service that Accumulo needs. Follow our guide on installing Apache Hadoop on single cloud server. You’ll need password-less SSH as Hadoop need as the system needs connect to the server over SSH without being prompted for password. All details are written in our Hadoop installation guide. We may use hadoop-2.7.3 for example, you should change command, directives to match your version number.

Accumulo has configuration script which simplifies configuration tasks, do the following :

Vim

1

2

cd/opt/accumulo-1.9.2/bin

./bootstrap_config.sh

You’ll get a command line screen to configure heap configuration (512 MB for test), memory map type (jvm), Hadoop version. Make sure that you have set HADOOP_HOME, ZOOKEEPER_HOME at .bashrc with proper version numbered path :

Vim

1

2

export ZOOKEEPER_HOME=/opt/zookeeper-3.4.9

export HADOOP_HOME=/opt/hadoop-2.7.3

Initialize Accumulo HDFS Folder :

Vim

1

/opt/accumulo-1.9.2/bin/accumulo init

Open accumulo-site.xml :

Vim

1

nano accumulo-site.xml

Probably you’ll need to edit some things :

Vim

1

2

3

4

5

6

7

8

9

10

...

<name>tserver.memory.maps.max</name>

<value>40M</value>

...

<name>tserver.cache.data.size</name>

<value>4M</value>

...

<name>tserver.cache.index.size</name>

<value>10M</value>

...

You’ll need system’s max open files to 32768. By default Accumulo is setup to run on localhost. You have to read documents to

Vim

1

2

3

nano/etc/hosts

##add

##ip.add.re.ss host_name

Edit conf/slaves to change the localhost name :

Vim

1

nano/opt/accumulo-1.9.2/conf/slaves

Start :

Vim

1

2

3

/opt/accumulo-1.9.2/bin/start-all.sh

##start Accumulo shell

/opt/accumulo-1.9.2/bin/accumulo shell

Apache Accumulo web monitor UI will be at http://server_ip:9995. Check ports, running processes if there is any trouble.