Command Line Upgrade
Also available as:
PDF
loading table of contents...

Configure and Start Apache Accumulo

[Note]Note

The su commands in this section use "accumulo" to represent the Accumulo Service user. If you are using another name for your Apache Accumulo Service user, you need to substitute your Accumulo Service user name for "accumulo" in each of the su commands.

  1. You must replace your configuration after upgrading. Copy /etc/accumulo/conf from the template to the conf directory in Accumulo hosts.

  2. 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"
  3. Check that the processes are running

    ps -ef | grep accumulo

    or visit http://<hostname>:50095 in your browser

  4. 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