Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-3031

Set mapreduce.admin.user.env in mapred-site.xml

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.0
    • Fix Version/s: 1.4.0
    • Component/s: ambari-server
    • Labels:
      None

      Description

      MR Job with Compression Codec can fail because of LD_LIBRARY_PATH missing in mapred-site.xml.

      mapred-site.xml sample
      <property>
          <name>mapreduce.admin.user.env</name>
          <value>LD_LIBRARY_PATH=/usr/lib/hadoop/lib/native:/usr/lib/hadoop/lib/native/`$JAVA_HOME/bin/java -d32 -version &amp;&gt; /dev/null;if [ $? -eq 0 ]; then echo Linux-i386-32; else echo Linux-amd64-64;fi`</value>
        </property>
      

        Attachments

        1. AMBARI-3031.patch
          2 kB
          Sumit Mohanty
        2. AMBARI-3031_All.patch
          6 kB
          Srimanth Gunturi
        3. AMBARI-3031_2.patch
          14 kB
          Srimanth Gunturi

          Activity

            People

            • Assignee:
              srimanth.gunturi Srimanth Gunturi
              Reporter:
              sumitmohanty Sumit Mohanty
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: