You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Takashi Ohnishi (JIRA)" <ji...@apache.org> on 2016/01/10 08:43:40 UTC
[jira] [Commented] (YARN-4574)
TestAMRMClientOnRMRestart.TestAMRMClientOnRMRestart fails on trunk
[ https://issues.apache.org/jira/browse/YARN-4574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15090942#comment-15090942 ]
Takashi Ohnishi commented on YARN-4574:
---------------------------------------
The error happened because the resource change request was sent before the status of container became RUNNING.
So, just need to wait it.
I will attach a patch.
> TestAMRMClientOnRMRestart.TestAMRMClientOnRMRestart fails on trunk
> ------------------------------------------------------------------
>
> Key: YARN-4574
> URL: https://issues.apache.org/jira/browse/YARN-4574
> Project: Hadoop YARN
> Issue Type: Sub-task
> Components: client, test
> Reporter: Takashi Ohnishi
> Attachments: YARN-4574.1.patch
>
>
> The test fails with
> {code}
> testAMRMClientResendsRequestsOnRMRestart(org.apache.hadoop.yarn.client.api.impl.TestAMRMClientOnRMRestart) Time elapsed: 3.937 sec <<< ERROR!
> org.apache.hadoop.yarn.exceptions.InvalidResourceRequestException: rmContainer's state is not RUNNING, for increase request, with container-id=container_1452411127386_0001_01_000003
> at org.apache.hadoop.yarn.server.resourcemanager.RMServerUtils.checkAndNormalizeContainerChangeRequest(RMServerUtils.java:147)
> at org.apache.hadoop.yarn.server.resourcemanager.RMServerUtils.validateIncreaseDecreaseRequest(RMServerUtils.java:287)
> at org.apache.hadoop.yarn.server.resourcemanager.RMServerUtils.increaseDecreaseRequestSanityCheck(RMServerUtils.java:227)
> at org.apache.hadoop.yarn.server.resourcemanager.ApplicationMasterService.allocate(ApplicationMasterService.java:475)
> at org.apache.hadoop.yarn.client.api.impl.AMRMClientImpl.allocate(AMRMClientImpl.java:311)
> at org.apache.hadoop.yarn.client.api.impl.TestAMRMClientOnRMRestart.testAMRMClientResendsRequestsOnRMRestart(TestAMRMClientOnRMRestart.java:226)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)