Accumulo, mail # dev - RE: shell extensions - 2014-02-13, 19:19
Solr & Elasticsearch trainings in New York & San Francisco [more info][hide]
 Search Hadoop and all its subprojects:

Switch to Threaded View
Copy link to this message
RE: shell extensions
I added extensions and script support in

Sent via the Samsung GALAXY S®4, an AT&T 4G LTE smartphone

From: Anthony F <[EMAIL PROTECTED]>
Date:02/13/2014  12:55 PM  (GMT-05:00)
Subject: shell extensions

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?


NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB