Configure and Start Apache Accumulo
Note | |
---|---|
The |
You must replace your configuration after upgrading. Copy
/etc/accumulo/conf
from the template to the conf directory in Accumulo hosts.Start the services:
ssh `hostname` "sudo su - -c \"export ACCUMULO_CONF_DIR=/etc/accumulo/conf/server;/usr/hdp/current/accumulo-client/bin/start-server.sh `hostname` master\" accumulo" ssh `hostname` "sudo su - -c \"export ACCUMULO_CONF_DIR=/etc/accumulo/conf/server;/usr/hdp/current/accumulo-client/bin/start-server.sh `hostname` tserver\" accumulo" ssh `hostname` "sudo su - -c \"export ACCUMULO_CONF_DIR=/etc/accumulo/conf/server;/usr/hdp/current/accumulo-client/bin/start-server.sh `hostname` gc\" accumulo" ssh `hostname` "sudo su - -c \"export ACCUMULO_CONF_DIR=/etc/accumulo/conf/server;/usr/hdp/current/accumulo-client/bin/start-server.sh `hostname` tracer\" accumulo" ssh `hostname` "sudo su - -c \"export ACCUMULO_CONF_DIR=/etc/accumulo/conf/server;/usr/hdp/current/accumulo-client/bin/start-server.sh `hostname` monitor\" accumulo"
Check that the processes are running
ps -ef | grep accumulo
or visit http://<hostname>:50095 in your browser
Run Accumulo smoke test. Verify that following commands can be executed successfully from Accumulo shell.
createtable testtable
insert row1 colf colq value1
scan
deletetable testtable
tables