accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <>
Subject [jira] [Commented] (ACCUMULO-1399) Pluggable commands for the shell
Date Thu, 09 May 2013 00:17:15 GMT


Josh Elser commented on ACCUMULO-1399:

I wonder if you could define some sort of meta-language (I'm making up words now, I think)
in which you could do something like this automagically.

{{(define make-my-tables ((create-table foo1), (create-table foo2), (create-table foo3), (config
-t foo1 -s prop1=val1)))}}

Which would define the command "make-my-tables" which you could call in the shell. I wonder
how much easier life would get if we had a more dynamic/interpreted language around the shell.
> Pluggable commands for the shell
> --------------------------------
>                 Key: ACCUMULO-1399
>                 URL:
>             Project: Accumulo
>          Issue Type: New Feature
>          Components: shell
>            Reporter: Dave Marion
>            Assignee: Dave Marion
>            Priority: Minor
>             Fix For: 1.6.0
> Proposing modification to the Shell to allow applications to create their own set of
commands. This might be accomplished using java.util.ServiceLoader or something like it. Specifically,
I'm thinking of a case where I have a create table command that is different than the one
provided by the Shell. In my case, my create table command may create one or more tables and
setup iterators on them.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message