Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-10140

Specification of HADOOP_CONF_DIR via the environment in hadoop_config.cmd

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.7.0
    • Component/s: scripts
    • Labels:
      None
    • Environment:

      This Windows when using the "Command" processing as opposed to using Bash from Cygwin.

    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      It would be nice if HADOOP_CONF_DIR could be set in the environment like YARN_CONF_DIR. This could be done in lib-exec/hadoop.cmd by setting HADOOP_CONF_DIR conditionally.

      Using the Windows command shell, the modification would be as follows:
      if not defined HADOOP_CONF_DIR (
      set HADOOP_CONF_DIR=%HADOOP_HOME%\etc\hadoop
      )

      This would allow the Hadoop configuration to be placed in ProgramData more easily.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kiranmr Kiran Kumar M R
                Reporter:
                ian_jackson@trilliumsoftware.com Ian Jackson
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: