Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DBFEA99DC for ; Wed, 22 May 2013 03:03:21 +0000 (UTC) Received: (qmail 14234 invoked by uid 500); 22 May 2013 03:03:22 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 14191 invoked by uid 500); 22 May 2013 03:03:21 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 14172 invoked by uid 99); 22 May 2013 03:03:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 May 2013 03:03:21 +0000 Date: Wed, 22 May 2013 03:03:21 +0000 (UTC) From: "Dave Marion (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-1399) Pluggable commands for the shell MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ACCUMULO-1399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13663709#comment-13663709 ] Dave Marion commented on ACCUMULO-1399: --------------------------------------- [~elserj] I think what I have now allows you to do what you are looking for in addition to what I have. For example: {code} -a arg1=value1,arg2=value2 {code} could also be written as {code} -a argv="value1 value2" {code} and then the script would have to parse out the commands from the argv variable. > Pluggable commands for the shell > -------------------------------- > > Key: ACCUMULO-1399 > URL: https://issues.apache.org/jira/browse/ACCUMULO-1399 > Project: Accumulo > Issue Type: New Feature > Components: shell > Reporter: Dave Marion > Assignee: Dave Marion > Priority: Minor > Fix For: 1.6.0 > > Attachments: ACCUMULO-1399-1.patch, ACCUMULO-1399-2.patch, ACCUMULO-1399-3.patch > > > 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: http://www.atlassian.com/software/jira