[ https://issues.apache.org/jira/browse/ACCUMULO-1550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Hsieh updated ACCUMULO-1550: ------------------------------------- Status: Patch Available (was: Open) > Create ACCUMULO_CONF_DIR environment variable > --------------------------------------------- > > Key: ACCUMULO-1550 > URL: https://issues.apache.org/jira/browse/ACCUMULO-1550 > Project: Accumulo > Issue Type: Improvement > Components: scripts > Affects Versions: 1.5.0, 1.4.3 > Reporter: Jonathan Hsieh > Assignee: Jonathan Hsieh > Fix For: 1.6.0 > > Attachments: accumulo-1550-1.4.patch, accumulo-1550-trunk.patch > > > 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