Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-1550

Create ACCUMULO_CONF_DIR environment variable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.3, 1.5.0
    • 1.4.4, 1.5.1, 1.6.0
    • scripts
    • None

    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

        1. accumulo-1550-1.4.patch
          38 kB
          Jonathan Hsieh
        2. accumulo-1550-trunk.patch
          27 kB
          Jonathan Hsieh

        Issue Links

          Activity

            People

              jmhsieh Jonathan Hsieh
              jmhsieh Jonathan Hsieh
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: