Hadoop Common
  1. Hadoop Common
  2. HADOOP-2838

Add HADOOP_LIBRARY_PATH config setting so Hadoop will include external directories for jni

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.16.0
    • Fix Version/s: 0.21.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Currently there is no way to configure Hadoop to use external JNI directories. I propose we add a new variable like HADOOP_CLASS_PATH that is added to the JAVA_LIBRARY_PATH before the process is run.

      Now the users can set environment variables using mapred.child.env. They can do the following
      X=Y : set X to Y
      X=$X:Y : Append Y to X (which should be taken from the tasktracker)

      1. HADOOP-2838-v1.0.patch
        8 kB
        Amar Kamat
      2. HADOOP-2838-v1.1.patch
        8 kB
        Amar Kamat
      3. HADOOP-2838-v2.2.patch
        19 kB
        Amar Kamat
      4. HADOOP-2838-v2.2-branch-20-example.patch
        12 kB
        Amar Kamat

        Issue Links

          Activity

          Owen O'Malley created issue -
          Arun C Murthy made changes -
          Field Original Value New Value
          Link This issue relates to HADOOP-2867 [ HADOOP-2867 ]
          Robert Chansler made changes -
          Fix Version/s 0.17.0 [ 12312913 ]
          Jonathan Stafford made changes -
          Link This issue is duplicated by HADOOP-5803 [ HADOOP-5803 ]
          Amar Kamat made changes -
          Attachment HADOOP-2838-v1.0.patch [ 12409549 ]
          Amar Kamat made changes -
          Assignee Owen O'Malley [ owen.omalley ] Amar Kamat [ amar_kamat ]
          Component/s mapred [ 12310690 ]
          Component/s scripts [ 12311393 ]
          Amar Kamat made changes -
          Attachment HADOOP-2838-v1.1.patch [ 12409558 ]
          Amar Kamat made changes -
          Attachment HADOOP-2838-v2.2.patch [ 12409869 ]
          Sharad Agarwal made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Hadoop Flags [Reviewed]
          Fix Version/s 0.21.0 [ 12313563 ]
          Resolution Fixed [ 1 ]
          Amar Kamat made changes -
          Amar Kamat made changes -
          Release Note Now the users can set environment variables using mapred.child.env. They can do the following
          X=Y : set X to Y
          X=$X:Y : Append Y to X (which should be taken from the tasktracker)
          Owen O'Malley made changes -
          Component/s mapred [ 12310690 ]
          Robert Chansler made changes -
          Release Note Now the users can set environment variables using mapred.child.env. They can do the following
          X=Y : set X to Y
          X=$X:Y : Append Y to X (which should be taken from the tasktracker)
          Description Currently there is no way to configure Hadoop to use external JNI directories. I propose we add a new variable like HADOOP_CLASS_PATH that is added to the JAVA_LIBRARY_PATH before the process is run. Currently there is no way to configure Hadoop to use external JNI directories. I propose we add a new variable like HADOOP_CLASS_PATH that is added to the JAVA_LIBRARY_PATH before the process is run.

          Now the users can set environment variables using mapred.child.env. They can do the following
          X=Y : set X to Y
          X=$X:Y : Append Y to X (which should be taken from the tasktracker)
          Tom White made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Amar Kamat
              Reporter:
              Owen O'Malley
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development