Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-25

Standardize JAVA_HOME detection

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.1.0
    • 0.2.0
    • general
    • None

    Description

      The Hadoop packages go through some effort (see /usr/lib/hadoop-0.20/bin/hadoop-config.sh) to guess at a good JVM to use if JAVA_HOME isn't set. For example, if both OpenJDK and Oracle JDK are installed, hadoop-config.sh will choose Oracle every time. Other packages that Bigtop integrates, don't follow the same practice (ZK, Pig, etc.). It would be nice to have this common code shared.

      Attachments

        1. bigtop-javahome
          0.6 kB
          Roman Shaposhnik
        2. 0001-BIGTOP-25.-Add-a-new-bigtop-utils-package-which-prov.patch
          27 kB
          Bruno Mahé
        3. 0002-BIGTOP-25.-Part-2.patch
          5 kB
          Bruno Mahé

        Issue Links

          Activity

            People

              bmahe Bruno Mahé
              rvs Roman Shaposhnik
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: