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

Hadoop wrapper script shouldn't ignore an existing JAVA_LIBRARY_PATH

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.20.2, 0.21.0, 0.22.0
    • Fix Version/s: 0.22.1
    • Component/s: scripts
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      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-trunkv3.patch
          1 kB
          Chad Metcalf
        2. HADOOP-6453-trunkv2.patch
          1 kB
          Chad Metcalf
        3. HADOOP-6453-0.20v3.patch
          1 kB
          Matt Foley
        4. HADOOP-6453-0.20v2.patch
          1 kB
          Chad Metcalf
        5. HADOOP-6453-0.20.patch
          0.9 kB
          Chad Metcalf
        6. HADOOP-6453.trunk.patch
          1.0 kB
          Chad Metcalf

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: