Home Forums YARN MR Sample Run Error

This topic contains 0 replies, has 1 voice, and was last updated by  Bk Choi 4 months, 2 weeks ago.

  • Creator
    Topic
  • #57115

    Bk Choi
    Participant

    I run hadoop-mapreduce-examples-2.4.0.jar in HDP 2.1.
    But Nodemanager failed to launch container!

    
    2014-07-11 09:13:49,244 WARN  nodemanager.DefaultContainerExecutor (DefaultContainerExecutor.java:launchContainer(213)) - Exception from container-launch with container ID: container_1404968938905_0008_01_000001 and exit code: 1
    org.apache.hadoop.util.Shell$ExitCodeException: 
            at org.apache.hadoop.util.Shell.runCommand(Shell.java:505)
    

    In Job History Log, I found following error message.

    
    Log Type: stderr
    Log Length: 118
    ... Could not find the main class: org.apache.hadoop.mapreduce.v2.app.MRAppMaster ...
    Log Type: stdout
    Log Length: 0
    

    yarn.application.classpath property of ambari console and /etc/hadoop/conf/yarn-site.xml file in nodemanager host is following:

    
    /etc/hadoop/conf,/usr/lib/hadoop/*,/usr/lib/hadoop/lib/*,/usr/lib/hadoop-hdfs/*,/usr/lib/hadoop-hdfs/lib/*,/usr/lib/hadoop-yarn/*,/usr/lib/hadoop-yarn/lib/*,/usr/lib/hadoop-mapreduce/*,/usr/lib/hadoop-mapreduce/lib/*
    

    How can I fix this problem?

You must be logged in to reply to this topic.