accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hsieh (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ACCUMULO-1550) Create ACCUMULO_CONF_DIR environment variable
Date Thu, 04 Jul 2013 08:35:22 GMT
Jonathan Hsieh created ACCUMULO-1550:
----------------------------------------

             Summary: Create ACCUMULO_CONF_DIR environment variable
                 Key: ACCUMULO-1550
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1550
             Project: Accumulo
          Issue Type: Bug
          Components: scripts
    Affects Versions: 1.5.0, 1.4.3, 1.6.0
            Reporter: Jonathan Hsieh
            Assignee: Jonathan Hsieh


Hadoop (and many of the other projects in the hadoop stack) have a HADOOP_CONF_DIR (<project>_CONF_DIR)
environment variable that is used to start daemons using the configuration specified.  

This is convenient because it decouples the configuration from the distributions -- daemons
can be run with different configs without having to perform stateful file operations.  

For example one could run accumulo like this:

{code}
ACCUMULO_CONF_DIR=/etc/accumulo/conf accumulo ....
{code}

or set env variables in .bashrc/jenkins scripts for different configurations

{code}
export ACCUMULO_CONF_DIR=$ACCUMULO_HOME/conf/examples/1GB/standalone
.. run test

export ACCUMULO_CONF_DIR=$ACCUMULO_HOME/conf/examples/1GB/native-standalone
.. run test
{code}



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