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

Revert HADOOP_PREFIX, go back to HADOOP_HOME

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha1
    • 3.0.0-alpha1
    • scripts, tracing
    • None
    • On Unix platforms, HADOOP_PREFIX has been deprecated in favor of returning to HADOOP_HOME as in prior Apache Hadoop releases.
    • Important

    Description

      Today, Windows and parts of the Hadoop source code still use HADOOP_HOME. The switch to HADOOP_PREFIX back in 0.21 or so didn't really accomplish what it was intended to do and only helped confuse the situation.

      _HOME is a much more standard suffix and is, in fact, used for everything in Hadoop except for the top level project home. I think it would be beneficial to use HADOOP_HOME in the shell code as the Official(tm) variable, still honoring HADOOP_PREFIX if it is set.

      Attachments

        1. HADOOP-11393-00.patch
          58 kB
          Allen Wittenauer
        2. HADOOP-11393.06.patch
          87 kB
          Allen Wittenauer
        3. HADOOP-11393.05.patch
          87 kB
          Allen Wittenauer
        4. HADOOP-11393.04.patch
          87 kB
          Allen Wittenauer
        5. HADOOP-11393.03.patch
          86 kB
          Allen Wittenauer
        6. HADOOP-11393.02.patch
          86 kB
          Allen Wittenauer
        7. HADOOP-11393.01.patch
          66 kB
          Allen Wittenauer

        Issue Links

          Activity

            People

              aw Allen Wittenauer
              aw Allen Wittenauer
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: