Configure and Start Apache Accumulo
Note | |
---|---|
The |
Upon upgrade from HDP 2.1 to HDP-2.5.5, Accumulo automatically changes the HDFS and ZooKeeper data stored on Accumulo. This change is not backward compatible, and HDP 2.1 does not run on this updated data.
After upgrading from HDP 2.1 to HDP-2.5.5, Accumulo automatically upgrades the internal metadata, notably the data in ZooKeeper, when the Accumulo Master for HDP-2.5.5 first starts. This change is not backward compatible and HDP 2.1 no longer runs against the data.
Prior to performing the following steps, you need to initialize Accumulo. See Initialization.
You must replace your configuration after upgrading. Copy
/etc/accumulo/conf
from the template to the conf directory in Accumulo hosts.In HDP-2.5.5, the instance.dfs.dir and instance.dfs.uri properties are deprecated with the instance.volumes property. If it does not already exist, add the instance.volumes property to the accumulo-site.xml file. Do not remove the instance.dfs.dir and instance.dfs.uri properties. You can extrapolate the value for the instance.volumes property from the instance.dfs.dir and instance.dfs.uri properties.
For example:
<property> <name>instance.dfs.dir</name> <value>/accumulo</value> </property> <property> <name>instance.dfs.uri</name> <value>hdfs://my_namenode:8020</value> </property> <property> <name>instance.volumes</name> <value>hdfs://my_namenode:8020/accumulo</value> </property>
Start the services:
su - accumulo -c "/usr/hdp/current/accumulo-master/bin/start-server.sh `hostname` master" su - accumulo -c "/usr/hdp/current/accumulo-master/bin/start-server.sh `hostname` tserver" su - accumulo -c "/usr/hdp/current/accumulo-master/bin/start-server.sh `hostname` gc" su - accumulo -c "/usr/hdp/current/accumulo-master/bin/start-server.sh `hostname` tracer" su - accumulo -c "/usr/hdp/current/accumulo-master/bin/start-server.sh `hostname` monitor"
Check that the processes are running
ps -ef | grep accumulo
or visit http://<hostname>:50095 in your browser