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

Add JAVA_HOME detection to hadoop-config

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.22.0
    • None
    • None
    • 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-5.patch
          1 kB
          Eli Collins
        2. hadoop-6605-4.patch
          1 kB
          Eli Collins
        3. hadoop-6605-3.patch
          1 kB
          Eli Collins
        4. hadoop-6605-2.patch
          2 kB
          Eli Collins
        5. hadoop-6605-1.patch
          1 kB
          Eli Collins
        6. HADOOP-6605.patch
          2 kB
          Chad Metcalf

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment