Ambari
  1. Ambari
  2. AMBARI-3031

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

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major 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>
      
      1. AMBARI-3031_2.patch
        14 kB
        Srimanth Gunturi
      2. AMBARI-3031_All.patch
        6 kB
        Srimanth Gunturi
      3. AMBARI-3031.patch
        2 kB
        Sumit Mohanty

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development