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

Specification of HADOOP_CONF_DIR via the environment in hadoop_config.cmd

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.2.0
    • 2.7.0
    • scripts
    • None
    • This Windows when using the "Command" processing as opposed to using Bash from Cygwin.

    • 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

        1. HADOOP-11508.patch
          0.9 kB
          Chris Nauroth

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: