Chapter 12. Administration: Running
Before Accumulo is started, HDFS and ZooKeeper must be running.
Accumulo can either be managed from a single control node using scripts provided in the bin/ directory, or using init.d scripts.
A running instance can be verified using the monitoring methods described in “Monitoring”.
Starting Accumulo
This section describes two types of scripts you can use to start Accumulo.
Via the start-all.sh Script
The start-all.sh script will SSH into all the machines listed in masters, slaves, gc, monitor, and tracers and start the associated processes. Password-less SSH is required to do this without having to type passwords for each machine.
Note
In each of these files, the hostname of machines should be listed, rather than IP address. In addition, each hostname should resolve to an IP address that can be resolved back to the same hostname.
Here is additional detail on each of the host files:
- slaves
-
The conf/slaves file is used by the start-all.sh script to start Accumulo processes on worker nodes, namely tablet server and, in the case of Accumulo 1.4 and earlier, logger processes. The hostnames of all machines that should run tablet server processes should be listed in this file.
In cases in which a tablet server will run on the same machines that will host master processes, the hostname of those machines should be listed here too.
- masters
-
The conf/masters file contains a list of the machines that will run a master process. There should be at ...
Get Accumulo now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.