[ https://issues.apache.org/jira/browse/YARN-9248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16756138#comment-16756138 ]
lujie edited comment on YARN-9248 at 1/30/19 2:01 PM: ------------------------------------------------------ The UT failure are due to TestRMAppAttemptTransitions#testContainerRemovedBeforeAllocate. Patch-1 does't trigger the failure, patch-4 only change code style based on patch-1, but trigger the UT failue, My local test shows that both TestRMAppAttemptTransitions# testContainerRemovedBeforeAllocate and TestRMContainerImpl#testContainerAcquiredAtKilledwork well, so I don't think the faiure is caused by this patch. Hope someone review it and make sure it. was (Author: xiaoheipangzi): The UT failure are due to TestRMAppAttemptTransitions#testContainerRemovedBeforeAllocate. Patch-1 does't trigger the failure, patch-2 ~ 4 only change code style based on patch-1, but trigger the UT failue, My local test shows that both TestRMAppAttemptTransitions# testContainerRemovedBeforeAllocate and TestRMContainerImpl#testContainerAcquiredAtKilledwork well, so I don't think the faiure is caused by this patch. Hope someone review it and make sure it. > RMContainerImpl:Invalid event: ACQUIRED at KILLED > ------------------------------------------------- > > Key: YARN-9248 > URL: https://issues.apache.org/jira/browse/YARN-9248 > Project: Hadoop YARN > Issue Type: Bug > Reporter: lujie > Assignee: lujie > Priority: Major > Attachments: YARN-9248_1.patch, YARN-9248_2.patch, YARN-9248_3.patch, > YARN-9248_4.patch > > > {code:java} > 2019-01-29 11:46:53,596 ERROR > org.apache.hadoop.yarn.server.resourcemanager.rmcontainer.RMContainerImpl: > Can't handle this event at current state > org.apache.hadoop.yarn.state.InvalidStateTransitionException: Invalid event: > ACQUIRED at KILLED > at > org.apache.hadoop.yarn.state.StateMachineFactory.doTransition(StateMachineFactory.java:305) > at > org.apache.hadoop.yarn.state.StateMachineFactory.access$500(StateMachineFactory.java:46) > at > org.apache.hadoop.yarn.state.StateMachineFactory$InternalStateMachine.doTransition(StateMachineFactory.java:487) > at > org.apache.hadoop.yarn.server.resourcemanager.rmcontainer.RMContainerImpl.handle(RMContainerImpl.java:475) > at > org.apache.hadoop.yarn.server.resourcemanager.rmcontainer.RMContainerImpl.handle(RMContainerImpl.java:67) > at > org.apache.hadoop.yarn.server.resourcemanager.OpportunisticContainerAllocatorAMService.handleNewContainers(OpportunisticContainerAllocatorAMService.java:351) > at > org.apache.hadoop.yarn.server.resourcemanager.OpportunisticContainerAllocatorAMService.access$100(OpportunisticContainerAllocatorAMService.java:94) > at > org.apache.hadoop.yarn.server.resourcemanager.OpportunisticContainerAllocatorAMService$OpportunisticAMSProcessor.allocate(OpportunisticContainerAllocatorAMService.java:197) > at > org.apache.hadoop.yarn.server.resourcemanager.AMSProcessingChain.allocate(AMSProcessingChain.java:92) > at > org.apache.hadoop.yarn.server.resourcemanager.ApplicationMasterService.allocate(ApplicationMasterService.java:424) > at > org.apache.hadoop.yarn.api.impl.pb.service.ApplicationMasterProtocolPBServiceImpl.allocate(ApplicationMasterProtocolPBServiceImpl.java:60) > at > org.apache.hadoop.yarn.proto.ApplicationMasterProtocol$ApplicationMasterProtocolService$2.callBlockingMethod(ApplicationMasterProtocol.java:99) > at > org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:530) > at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:1070) > at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:943) > at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:878) > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.auth.Subject.doAs(Subject.java:422) > at > org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1876) > at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2830) > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org