You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Jonathan Hsieh (JIRA)" <ji...@apache.org> on 2013/07/04 10:35:22 UTC
[jira] [Created] (ACCUMULO-1550) Create ACCUMULO_CONF_DIR
environment variable
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