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 "Ted Yu (JIRA)" <ji...@apache.org> on 2014/01/05 00:31:50 UTC
[jira] [Commented] (YARN-1560) TestYarnClient#testAMMRTokens fails
with null AMRM token
[ https://issues.apache.org/jira/browse/YARN-1560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13862443#comment-13862443 ]
Ted Yu commented on YARN-1560:
------------------------------
In Eclipse, I placed a breakpoint on the line below:
{code}
//unmanaged AMs do return AMRM token
Assert.assertNotNull(rmClient.getAMRMToken(appId));
{code}
However, the token returned was non-null, possibly due to the delay in stepping through the code.
> TestYarnClient#testAMMRTokens fails with null AMRM token
> --------------------------------------------------------
>
> Key: YARN-1560
> URL: https://issues.apache.org/jira/browse/YARN-1560
> Project: Hadoop YARN
> Issue Type: Test
> Reporter: Ted Yu
>
> The following can be reproduced locally:
> {code}
> testAMMRTokens(org.apache.hadoop.yarn.client.api.impl.TestYarnClient) Time elapsed: 3.341 sec <<< FAILURE!
> junit.framework.AssertionFailedError: null
> at junit.framework.Assert.fail(Assert.java:48)
> at junit.framework.Assert.assertTrue(Assert.java:20)
> at junit.framework.Assert.assertNotNull(Assert.java:218)
> at junit.framework.Assert.assertNotNull(Assert.java:211)
> at org.apache.hadoop.yarn.client.api.impl.TestYarnClient.testAMMRTokens(TestYarnClient.java:382)
> {code}
> This test didn't appear in https://builds.apache.org/job/Hadoop-Yarn-trunk/442/consoleFull
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)