hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arun C Murthy <...@hortonworks.com>
Subject Re: CONTAINER_FINISHED event when RMAppAttemptImpl is RECOVERING
Date Sat, 03 Nov 2012 18:04:25 GMT
Arinto,

 Unfortunately, it's too early to try it yet, I'd wait for a little longer to for it to stabilize
- should be soon.

 Thanks for trying it and the feedback though! Much appreciated.

Arun

On Nov 3, 2012, at 6:55 AM, Arinto Murdopo wrote:

> Hi all,
> 
> We have this exception when we tried to resurrect ResourceManager using
> ZKStore. We are using Hadoop version 2.0.2 Alpha RC2, with patch from
> #YARN-128 issue (https://issues.apache.org/jira/browse/YARN-128).
> 
> org.apache.hadoop.yarn.state.InvalidStateTransitonException: Invalid event:
> CONTAINER_FINISHED at RECOVERING
> at
> org.apache.hadoop.yarn.state.StateMachineFactory.doTransition(StateMachineFactory.java:301)
> at
> org.apache.hadoop.yarn.state.StateMachineFactory.access$300(StateMachineFactory.java:43)
> at
> org.apache.hadoop.yarn.state.StateMachineFactory$InternalStateMachine.doTransition(StateMachineFactory.java:443)
> at
> org.apache.hadoop.yarn.server.resourcemanager.rmapp.attempt.RMAppAttemptImpl.handle(RMAppAttemptImpl.java:510)
> at
> org.apache.hadoop.yarn.server.resourcemanager.rmapp.attempt.RMAppAttemptImpl.handle(RMAppAttemptImpl.java:83)
> at
> org.apache.hadoop.yarn.server.resourcemanager.ResourceManager$ApplicationAttemptEventDispatcher.handle(ResourceManager.java:442)
> at
> org.apache.hadoop.yarn.server.resourcemanager.ResourceManager$ApplicationAttemptEventDispatcher.handle(ResourceManager.java:423)
> at
> org.apache.hadoop.yarn.event.AsyncDispatcher.dispatch(AsyncDispatcher.java:126)
> at
> org.apache.hadoop.yarn.event.AsyncDispatcher$1.run(AsyncDispatcher.java:75)
> at java.lang.Thread.run(Thread.java:662)
> 
> Inspecting RMAppAttemptImpl, we noticed that the state transition doesn't
> handle CONTAINER_FINISHED event when it is in the RECOVERING state. So in
> this case, what is the correct transition to handle CONTAINER_FINISHED
> event when we are in RECOVERING state?
> 
> regards,
> 
> Arinto Murdopo
> European Master in Distributed Computing (EMDC)
> Universitat Politècnica de Catalunya · BarcelonaTech, Barcelona, Spain
> KTH Royal Institute of Technology, Stockholm, Sweden

--
Arun C. Murthy
Hortonworks Inc.
http://hortonworks.com/



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message