accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anthony F <>
Subject shell extensions
Date Thu, 13 Feb 2014 17:55:07 GMT
As part of development for GeoMesa, I've found it valuable to have
maintenance and other custom operations available at the accumulo shell.
To support this, I have modified the Shell class to load commands defined
as SPI META-INF/services in jars in $ACCUMULO_HOME/lib/ext.  This allows
developers to create a jar with a file:


which contains one Command per line such as:

I have put up a branch of the modification here:

The actual code change is quite minimal but I had to pull the abstract
Command class up into its own file so I could use the ServiceLoader to load
Command resources.

Does this sound like something that could be valuable to others?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message