Details
Description
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:
ACCUMULO_CONF_DIR=/etc/accumulo/conf accumulo ....
or set env variables in .bashrc/jenkins scripts for different configurations
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
Attachments
Attachments
Issue Links
- breaks
-
ACCUMULO-1659 test/system/continuous/start-stats.sh refers to undefined ACCUMULO_CONF_DIR
- Resolved
- is required by
-
ACCUMULO-1577 accumulo-site.xml cannot be loaded from $ACCUMULO_CONF_DIR
- Resolved