hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Kanter (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-7341) TestRouterWebServiceUtil#testMergeMetrics is flakey
Date Tue, 17 Oct 2017 18:24:00 GMT

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

Robert Kanter commented on YARN-7341:
-------------------------------------

[~jlowe], neither the {{mergeMetrics}} method nor the test exist in branch-2, so I figured
that YARN-7095 had a different patch for branch-2.  But looking at the git history now, it
looks like it's not actually in branch-2 at all:
{noformat}
>> [155] 11:09 : hadoop-common (trunk) :: git log branch-2 --oneline | grep YARN-7095
>> [156] 11:21 : hadoop-common (trunk) :: git log trunk --oneline | grep YARN-7095
bac4e8cca8b YARN-7095. Federation: routing getNode/getNodes/getMetrics REST invocations transparently
to multiple RMs. (Giovanni Matteo Fumarola via Subru).
>> [157] 11:21 : hadoop-common (trunk) :: git log branch-3.0 --oneline | grep YARN-7095
bac4e8cca8b YARN-7095. Federation: routing getNode/getNodes/getMetrics REST invocations transparently
to multiple RMs. (Giovanni Matteo Fumarola via Subru).
{noformat}
Either YARN-7095 has the wrong fix version or someone forgot to backport it.  [~subru]?

> TestRouterWebServiceUtil#testMergeMetrics is flakey
> ---------------------------------------------------
>
>                 Key: YARN-7341
>                 URL: https://issues.apache.org/jira/browse/YARN-7341
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: federation
>    Affects Versions: 3.0.0-beta1
>            Reporter: Robert Kanter
>            Assignee: Robert Kanter
>             Fix For: 3.0.0
>
>         Attachments: YARN-7341.001.patch
>
>
> {{TestRouterWebServiceUtil#testMergeMetrics}} is flakey.  It sometimes fails with something
like:
> {noformat}
> Running org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServiceUtil
> Tests run: 8, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.252 sec <<<
FAILURE! - in org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServiceUtil
> testMergeMetrics(org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServiceUtil)
 Time elapsed: 0.005 sec  <<< FAILURE!
> java.lang.AssertionError: expected:<1092> but was:<584>
> 	at org.junit.Assert.fail(Assert.java:88)
> 	at org.junit.Assert.failNotEquals(Assert.java:743)
> 	at org.junit.Assert.assertEquals(Assert.java:118)
> 	at org.junit.Assert.assertEquals(Assert.java:555)
> 	at org.junit.Assert.assertEquals(Assert.java:542)
> 	at org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServiceUtil.testMergeMetrics(TestRouterWebServiceUtil.java:473)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message