Simpler scripts and configuration coming in Accumulo 2.0.0

Author: Mike WalchDate: 16 Nov 2016

For the upcoming 2.0.0 release, Accumulo’s scripts and configuration were refactored
to make Accumulo easier to use. While Accumulo’s documentation (i.e. the user
manual and INSTALL.md) were updated with any changes that were made, this blog post provides
a summary of the changes.

Fewer scripts

Before 2.0.0, the bin/ directory of Accumulo’s binary tarball contained about 20 scripts:

The number of scripts made it difficult to know which scripts to use. If you added the bin/ directory to your
PATH, it could add unnecessary commands to your PATH or cause commands to be overridden due generic names
(like ‘start-all.sh’). The number of scripts were reduced by removing scripts that are no longer used and combining
scripts with similar functionality.

Starting with 2.0.0, Accumulo will only have 4 scripts in its bin/ directory:

The Accumulo tarball does contain host files (i.e ‘tservers’, ‘monitor’, etc) by default as these files are only required by
the ‘accumulo-cluster’ command. However, the script has a command to generate them.

$ ./bin/accumulo-cluster create-config

Any less common configuration files can still be found in conf/templates.

For 2.0.0, all ‘accumulo’ commands were given a short description and organized into the groups. Below is
the full usage. It should be noted that usage is limited until the ‘accumulo-env.sh’ configuration file is
created in conf/ by the accumulo create-config command.