Uploaded image for project: 'CDH (READ-ONLY)'
  1. CDH (READ-ONLY)
  2. DISTRO-185

hadoop-config.sh needs to look for the RHEL6 sun JDK path

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: CDH3u0
    • Fix Version/s: CDH3u1
    • Component/s: Hadoop Common
    • Labels:
      None

      Description

      Here is the fix:
      [root@localhost init.d]# diff -u /usr/lib/hadoop-0.20/bin/hadoop-config.sh.orig /usr/lib/hadoop-0.20/bin/hadoop-config.sh
      — /usr/lib/hadoop-0.20/bin/hadoop-config.sh.orig 2011-03-23 14:04:12.231535242 -0700
      +++ /usr/lib/hadoop-0.20/bin/hadoop-config.sh 2011-03-23 14:03:57.721543746 -0700
      @@ -68,6 +68,7 @@
      if [ -z "$JAVA_HOME" ]; then
      for candidate in \
      /usr/lib/jvm/java-6-sun \
      + /usr/lib/jvm/java-1.6.0-sun-1.6.0.* \
      /usr/lib/j2sdk1.6-sun \
      /usr/java/jdk1.6* \
      /usr/java/jre1.6* \

        Attachments

          Activity

            People

            • Assignee:
              bruno Bruno Mahé
              Reporter:
              bruno Bruno Mahé
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: