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 792061130A for ; Tue, 20 May 2014 19:58:38 +0000 (UTC) Received: (qmail 39156 invoked by uid 500); 20 May 2014 19:58:38 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 39114 invoked by uid 500); 20 May 2014 19:58:38 -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 39106 invoked by uid 99); 20 May 2014 19:58:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 May 2014 19:58:38 +0000 Date: Tue, 20 May 2014 19:58:38 +0000 (UTC) From: "Christopher Tubbs (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-1397) Provide shell support for .accumulorc file 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-1397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14003895#comment-14003895 ] Christopher Tubbs commented on ACCUMULO-1397: --------------------------------------------- The {{%jpackage_script}} RPM macro provided by {{jpackage-utils}} generates a standard java launch script that sources {{/etc/java/%\{name\}.conf}} and {{$HOME/.%\{name\}rc}} for environment configuration. See {{rpm -E '%\{jpackage_script\}'}} on an RPM system with jpackage-utils for what the macro looks like. > 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 > Fix For: 1.7.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 was sent by Atlassian JIRA (v6.2#6252)