hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gergely Novák (JIRA) <j...@apache.org>
Subject [jira] [Commented] (YARN-7594) TestNMWebServices.testGetNMResourceInfo fails on trunk
Date Fri, 01 Dec 2017 14:08:00 GMT

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

Gergely Novák commented on YARN-7594:
-------------------------------------

Since YARN-7573 {{getNMResourceInfo()}} doesn't throw Exception for wrong resource name, but
returns an emtpy JSON.

> TestNMWebServices.testGetNMResourceInfo fails on trunk
> ------------------------------------------------------
>
>                 Key: YARN-7594
>                 URL: https://issues.apache.org/jira/browse/YARN-7594
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: nodemanager, webapp
>            Reporter: Gergely Novák
>
> {code}
> // Access resource-2 should fail (null NMResourceInfo returned).
> JSONObject json = response.getEntity(JSONObject.class);
> assertIncludesException(json);
> {code}
> fails with
> {noformat}
> java.lang.AssertionError ...
>     at org.apache.hadoop.yarn.server.nodemanager.webapp.TestNMWebServices.assertIncludesException(TestNMWebServices.java:541)
>     at org.apache.hadoop.yarn.server.nodemanager.webapp.TestNMWebServices.testGetNMResourceInfo(TestNMWebServices.java:461)...
> {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