Hadoop Common
  1. Hadoop Common
  2. HADOOP-6453

Hadoop wrapper script shouldn't ignore an existing JAVA_LIBRARY_PATH

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor 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.

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

        Issue Links

          Activity

          Matt Foley made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Matt Foley made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Matt Foley made changes -
          Target Version/s 1.1.1, 0.22.0 [ 12321658, 12314296 ] 0.22.0 [ 12314296 ]
          Matt Foley made changes -
          Target Version/s 0.22.0 [ 12314296 ] 0.22.0, 1.1.1 [ 12314296, 12321658 ]
          Matt Foley made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Target Version/s 1.1.0, 0.22.0 [ 12316501, 12314296 ] 0.22.0 [ 12314296 ]
          Assignee Matt Foley [ mattf ]
          Anonymous made changes -
          Status Reopened [ 4 ] Patch Available [ 10002 ]
          Target Version/s 1.1.0, 0.22.0 [ 12316501, 12314296 ] 0.22.0, 1.1.0 [ 12314296, 12316501 ]
          Konstantin Shvachko made changes -
          Fix Version/s 0.22.1 [ 12319240 ]
          Fix Version/s 0.22.0 [ 12314296 ]
          Matt Foley made changes -
          Target Version/s 0.22.0, 1.0.0 [ 12314296, 12318244 ] 0.22.0, 1.1.0 [ 12314296, 12316501 ]
          Tim Broberg made changes -
          Link This issue is related to HADOOP-7825 [ HADOOP-7825 ]
          Matt Foley made changes -
          Attachment HADOOP-6453-0.20v3.patch [ 12503143 ]
          Matt Foley made changes -
          Assignee Matt Foley [ mattf ]
          Matt Foley made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Assignee Chad Metcalf [ metcalfc ]
          Tim Broberg made changes -
          Target Version/s 0.20.205.1, 0.22.0 [ 12318244, 12314296 ]
          Jakob Homan made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Jakob Homan made changes -
          Hadoop Flags [Incompatible change] [Incompatible change, Reviewed]
          Component/s scripts [ 12311393 ]
          Chad Metcalf made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Hadoop Flags [Incompatible change]
          Chad Metcalf made changes -
          Attachment HADOOP-6453-trunkv3.patch [ 12452663 ]
          Chad Metcalf made changes -
          Attachment HADOOP-6453-trunkv3.patch [ 12452662 ]
          Chad Metcalf made changes -
          Attachment HADOOP-6453-trunkv3.patch [ 12452662 ]
          Jakob Homan made changes -
          Fix Version/s 0.22.0 [ 12314296 ]
          Status Patch Available [ 10002 ] Open [ 1 ]
          Chris Douglas made changes -
          Fix Version/s 0.21.0 [ 12313563 ]
          Fix Version/s 0.20.2 [ 12314203 ]
          Fix Version/s 0.22.0 [ 12314296 ]
          Chad Metcalf made changes -
          Attachment HADOOP-6453-trunkv2.patch [ 12429068 ]
          Chad Metcalf made changes -
          Attachment HADOOP-6453-0.20v2.patch [ 12429067 ]
          Chad Metcalf made changes -
          Fix Version/s 0.21.0 [ 12313563 ]
          Fix Version/s 0.22.0 [ 12314296 ]
          Affects Version/s 0.20.2 [ 12314203 ]
          Affects Version/s 0.21.0 [ 12313563 ]
          Affects Version/s 0.22.0 [ 12314296 ]
          Affects Version/s 0.20.1 [ 12313866 ]
          Chad Metcalf made changes -
          Status In Progress [ 3 ] Patch Available [ 10002 ]
          Chad Metcalf made changes -
          Assignee Chad Metcalf [ metcalfc ]
          Chad Metcalf made changes -
          Status Patch Available [ 10002 ] In Progress [ 3 ]
          Chad Metcalf made changes -
          Attachment HADOOP-6453.trunk.patch [ 12428360 ]
          Chad Metcalf made changes -
          Attachment HADOOP-6453-0.20.patch [ 12428358 ]
          Chad Metcalf made changes -
          Attachment HADOOP-6453v1.patch [ 12428348 ]
          Chad Metcalf made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Chad Metcalf made changes -
          Field Original Value New Value
          Attachment HADOOP-6453v1.patch [ 12428348 ]
          Chad Metcalf created issue -

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development