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

Add JAVA_HOME detection to hadoop-config

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.22.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      The commands that source hadoop-config.sh currently bail with an error if JAVA_HOME is not set. Let's detect JAVA_HOME (from a list of locations on various OS types) if JAVA_HOME is not already set by hadoop-env.sh or the environment. This way users don't have to manually configure it.

        Attachments

        1. HADOOP-6605.patch
          2 kB
          Chad Metcalf
        2. hadoop-6605-1.patch
          1 kB
          Eli Collins
        3. hadoop-6605-2.patch
          2 kB
          Eli Collins
        4. hadoop-6605-3.patch
          1 kB
          Eli Collins
        5. hadoop-6605-4.patch
          1 kB
          Eli Collins
        6. hadoop-6605-5.patch
          1 kB
          Eli Collins

          Issue Links

            Activity

              People

              • Assignee:
                eli Eli Collins
                Reporter:
                metcalfc Chad Metcalf
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: