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

Hadoop wrapper script shouldn't ignore an existing JAVA_LIBRARY_PATH

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.20.2, 0.21.0, 0.22.0
    • 0.22.1
    • scripts
    • None
    • Incompatible change, Reviewed

    Description

      Currently the hadoop wrapper script assumes its the only place that uses JAVA_LIBRARY_PATH and initializes it to a blank line.

      JAVA_LIBRARY_PATH=''

      This prevents anyone from setting this outside of the hadoop wrapper (say hadoop-config.sh) for their own native libraries.

      The fix is pretty simple. Don't initialize it to '' and append the native libs like normal.

      Attachments

        1. HADOOP-6453.trunk.patch
          1.0 kB
          Chad Metcalf
        2. HADOOP-6453-0.20.patch
          0.9 kB
          Chad Metcalf
        3. HADOOP-6453-0.20v2.patch
          1 kB
          Chad Metcalf
        4. HADOOP-6453-0.20v3.patch
          1 kB
          Matthew Foley
        5. HADOOP-6453-trunkv2.patch
          1 kB
          Chad Metcalf
        6. HADOOP-6453-trunkv3.patch
          1 kB
          Chad Metcalf

        Issue Links

          Activity

            People

              Unassigned Unassigned
              metcalfc Chad Metcalf
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: