[ https://issues.apache.org/jira/browse/YARN-9461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16908966#comment-16908966 ]
Hudson commented on YARN-9461: ------------------------------ FAILURE: Integrated in Jenkins build Hadoop-trunk-Commit #17136 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/17136/]) YARN-9461. (snemeth: rev 9b8359bb085b29b868ec9e704bf655b58d3e36a7) * (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/TestRMWebServicesDelegationTokenAuthentication.java > TestRMWebServicesDelegationTokenAuthentication.testCancelledDelegationToken > fails with HTTP 400 > ----------------------------------------------------------------------------------------------- > > Key: YARN-9461 > URL: https://issues.apache.org/jira/browse/YARN-9461 > Project: Hadoop YARN > Issue Type: Bug > Components: resourcemanager, test > Reporter: Peter Bacsko > Assignee: Peter Bacsko > Priority: Minor > Fix For: 3.3.0 > > Attachments: YARN-9461-001.patch > > > The test > {{TestRMWebServicesDelegationTokenAuthentication.testCancelledDelegationToken}} > sometimes fails with the following error: > {noformat} > java.io.IOException: Server returned HTTP response code: 400 for URL: > http://localhost:8088/ws/v1/cluster/delegation-token > at > org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesDelegationTokenAuthentication.cancelDelegationToken(TestRMWebServicesDelegationTokenAuthentication.java:462) > at > org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesDelegationTokenAuthentication.testCancelledDelegationToken(TestRMWebServicesDelegationTokenAuthentication.java:283) > {noformat} > The problem is that for whatever reason, Jetty seems to execute the token > cancellation REST call twice. First we get HTTP 200 OK, but the second > request fails with HTTP 400 Bad Request. > The {{MockRM}} instance is static. Something could be a problem in this class > and it turned out that using separate {{MockRM}} instances solves the > flakiness. -- This message was sent by Atlassian JIRA (v7.6.14#76016) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org