accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Berman (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-1397) Provide shell support for .accumulorc file
Date Fri, 02 Aug 2013 17:23:51 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-1397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13727830#comment-13727830
] 

Michael Berman commented on ACCUMULO-1397:
------------------------------------------

A lot of the interface that AccumuloConfiguration provides seems applicable to other configurations,
including the client configuration... type checking and unit conversion, especially.

I could see value in having a different set of Property flags for ClientConfiguration, although
there seems to be some overlap even there.  ZKInstance already wants a Property.INSTANCE_ZK_TIMEOUT,
and the switches I'm adding for SSL are also shared.  The code that creates Thrift connections
expects an Instance with an AccumuloConfiguration to get its connection options, and this
same code path is used by both inter-accumulo-service connections (whose options certainly
should come from the greater AccumuloConfiguration space) and by client connections via ZKInstance.
                
> Provide shell support for .accumulorc file
> ------------------------------------------
>
>                 Key: ACCUMULO-1397
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1397
>             Project: Accumulo
>          Issue Type: Sub-task
>          Components: shell
>            Reporter: Mike Drob
>            Assignee: Mike Drob
>             Fix For: 1.6.0
>
>         Attachments: ClientConfiguration.java, ClientConfigurationTest.java
>
>
> It would be nice to support a {{.accumulorc}} file for specifying some amount of configured
default values for each shell.
> Probably would want to have a tiered approach with values in {{$ACCUMULO_HOME/conf/accumulorc}}
being overwritten by those in {{$HOME/.accumulorc}} if present. Might also check for {{/etc/accumulorc}}
or similar.
> This should support some level of specifying a user principal and authentication token.
Might also be useful to specify debug mode on/off, traces on/off, a default table/pattern
to perform operations against. Other ideas appreciated, but not required. We can always create
more tickets for them in the future.
> For inspiration, see {{.eucarc}}

--
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

Mime
View raw message