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] [Updated] (YARN-7458) TestContainerManagerSecurity is still flakey
Date Thu, 09 Nov 2017 00:16:01 GMT

     [ https://issues.apache.org/jira/browse/YARN-7458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Robert Kanter updated YARN-7458:
--------------------------------
    Attachment: YARN-7458.002.patch

Thanks for the reviews.  That all makes sense.  Uploading 002 patch:
- Replaces custom loop with {{GenericTestUitls#waitFor}} and lowered the check interval to
10msec.  This also makes it fail the test if the loop expires before the container completes
and fixes the interrupt issue.
- Reversed the {{equals}} call
- Improved the log message to also print out the current container state for easier debuggability

> TestContainerManagerSecurity is still flakey
> --------------------------------------------
>
>                 Key: YARN-7458
>                 URL: https://issues.apache.org/jira/browse/YARN-7458
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 2.9.0, 3.0.0-beta1
>            Reporter: Robert Kanter
>            Assignee: Robert Kanter
>         Attachments: YARN-7458.001.patch, YARN-7458.002.patch
>
>
> YARN-6150 made this less flakey, but we're still seeing an occasional issue here:
> {noformat}
> java.lang.NullPointerException
> 	at org.apache.hadoop.yarn.server.TestContainerManagerSecurity.waitForContainerToFinishOnNM(TestContainerManagerSecurity.java:420)
> 	at org.apache.hadoop.yarn.server.TestContainerManagerSecurity.testNMTokens(TestContainerManagerSecurity.java:356)
> 	at org.apache.hadoop.yarn.server.TestContainerManagerSecurity.testContainerManager(TestContainerManagerSecurity.java:167)
> {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