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

Cygwin path translation should occur earlier in bin/hadoop

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.12.0, 0.12.1, 0.13.0
    • 0.12.1
    • scripts
    • None

    Description

      When native Linux libraries are present, and bin/hadoop is running under Cygwin, the part of the script that sets up java.library.path uses un-translated CLASSPATH. This leads to the (in)famous message:

      Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hadoop/util/PlatformName

      The fix is to perform the Cygwin translation of the CLASSPATH earlier, before checking for the native libs.

      Attachments

        1. hadoop.patch
          1 kB
          Andrzej Bialecki
        2. hadoop.2.patch
          2 kB
          Andrzej Bialecki

        Activity

          People

            Unassigned Unassigned
            ab Andrzej Bialecki
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: