Accumulo 2.x Documentation  >>  Configuration  >>  Configuration Files

Configuration Files

Accumulo has the following configuration files which can be found in the conf/ directory of the Accumulo release tarball.

accumulo.properties

Configures Accumulo server processes using server properties. This file can be found in the conf/ direcory. It is needed on every host that runs Accumulo processes. Therfore, any configuration should be replicated to all hosts of the Accumulo cluster. If a property is not configured here, it might have been configured another way. See the quick start for help with configuring this file.

accumulo-client.properties

Configures Accumulo client processes using client properties. If run accumulo shell without arguments, the Accumulo connection information in this file will be used. This file can be used to create an AccumuloClient in Java using the following code:

AccumuloClient client = Accumulo.newClient()
                           .from("/path/to/accumulo-client.properties").build();

See the quick start for help with configuring this file.

accumulo-env.sh

Configures the Java classpath and JVM options needed to run Accumulo processes. See the [quick install] for help with configuring this file.

Log configuration files

log4j-service.properties

Configures logging for most Accumulo services (i.e Master, Tablet Server, Garbage Collector) except for the Monitor.

log4j-monitor.properties

Configures logging for the Monitor.

log4j.properties

Configures logging for Accumulo commands (i.e accumulo init, accumulo shell, etc).

Host files

The accumulo-cluster script uses the host files below to determine where Accumulo processes should be run. These files are not in conf/ directory the Accumulo release tarball by default. They can be created by running the command accumulo-cluster create-config.

gc

Contains a list of hosts where Garbage Collector processes should run. While only one host is needed, others can be specified to run standby Garbage Collectors that can take over if the lead Garbage Collector fails.

masters

Contains a list of hosts where Master processes should run. While only one host needed, others can be specified to run on standby Masters that can take over if the lead Master fails.

monitor

Contains a list of hosts where Monitor processes should run. While only one host is needed, others can be specified to run standby Monitors that can take over if the lead Monitor fails.

tservers

Contains list of hosts where Tablet Server processes should run. While only one host is needed, it is recommended that multiple tablet servers are run for improved fault tolerance and peformance.

tracers

Contains a list of hosts where Tracer processes should run. While only one host is needed, others can be specified to run standby Tracers that can take over if the lead Tracer fails.

Find documentation for all releases in the archive