hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-2953) JobClient fails due to a race in RM, removes staged files and in turn crashes MR AM
Date Fri, 09 Sep 2011 02:26:09 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-2953?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13100883#comment-13100883
] 

Hudson commented on MAPREDUCE-2953:
-----------------------------------

Integrated in Hadoop-Mapreduce-trunk-Commit #867 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/867/])
    MAPREDUCE-2953. Fix a race condition on submission which caused client to incorrectly
assume application was gone by making submission synchronous for RMAppManager. Contributed
by Thomas Graves.

acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1166968
Files : 
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/ClientRMService.java
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/RMAppManager.java
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/ResourceManager.java
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/MockRM.java


> JobClient fails due to a race in RM, removes staged files and in turn crashes MR AM
> -----------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-2953
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2953
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2, resourcemanager
>    Affects Versions: 0.23.0
>            Reporter: Vinod Kumar Vavilapalli
>            Assignee: Thomas Graves
>             Fix For: 0.23.0
>
>         Attachments: MAPREDUCE-2953-v2.patch, MAPREDUCE-2953-v3.patch, MAPREDUCE-2953.patch
>
>
> [~Karams] ran into this multiple times. MR JobClient crashes immediately.
> {code}
> 11/09/08 10:52:35 INFO mapreduce.JobSubmitter: number of splits:2094
> 11/09/08 10:52:36 INFO mapred.YARNRunner: AppMaster capability = memory: 2048,
> 11/09/08 10:52:36 INFO mapred.YARNRunner: Command to launch container for ApplicationMaster
is : $JAVA_HOME/bin/java -Dhadoop.root.logger=INFO,console -Xmx1536m org.apache.hadoop.mapreduce.v2.app.MRAppMaster
1315478927026 1 <FAILCOUNT> 1><LOG_DIR>/stdout 2><LOG_DIR>/stderr
> 11/09/08 10:52:36 INFO mapred.ResourceMgrDelegate: Submitted application application_1315478927026_1
to ResourceManager
> 11/09/08 10:52:36 INFO mapreduce.JobSubmitter: Cleaning up the staging area /user/gridperf/.staging/job_1315478927026_0001
> RemoteTrace:
>  at Local Trace:
>         org.apache.hadoop.yarn.exceptions.impl.pb.YarnRemoteExceptionPBImpl: failed to
run job
>         at org.apache.hadoop.yarn.factories.impl.pb.YarnRemoteExceptionFactoryPBImpl.createYarnRemoteException(YarnRemoteExceptionFactoryPBImpl.java:39)
>         at org.apache.hadoop.yarn.ipc.RPCUtil.getRemoteException(RPCUtil.java:47)
>         at org.apache.hadoop.mapred.YARNRunner.submitJob(YARNRunner.java:250)
>         at org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:377)
>         at org.apache.hadoop.mapreduce.Job$2.run(Job.java:1072)
>         at org.apache.hadoop.mapreduce.Job$2.run(Job.java:1069)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at javax.security.auth.Subject.doAs(Subject.java:396)
>         at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1135)
>         at org.apache.hadoop.mapreduce.Job.submit(Job.java:1069)
>         at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:1089)
>         at org.apache.hadoop.examples.RandomWriter.run(RandomWriter.java:283)
>         at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:69)
>         at org.apache.hadoop.examples.RandomWriter.main(RandomWriter.java:294)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at org.apache.hadoop.util.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:72)
>         at org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java:144)
>         at org.apache.hadoop.examples.ExampleDriver.main(ExampleDriver.java:68)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at org.apache.hadoop.util.RunJar.main(RunJar.java:189)
> }
> {code}
> The client crashes due to a race in RM.
> Because the client fails, it immediately removes the staged files which in turn makes
the MR AM itself to crash due to failed localization on the NM.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message