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

Subru Krishnan commented on YARN-6666:
--------------------------------------

[~botong], one quick question on the patch - why are you not removing the 
apptempt and the containers that were being tracked?

> Fix unit test in TestRouterClientRMService
> ------------------------------------------
>
>                 Key: YARN-6666
>                 URL: https://issues.apache.org/jira/browse/YARN-6666
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Botong Huang
>            Assignee: Botong Huang
>            Priority: Minor
>         Attachments: YARN-6666-YARN-2915.v1.patch
>
>
> Running 
> org.apache.hadoop.yarn.server.router.clientrm.TestRouterClientRMService
> Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.041 sec <<< 
> FAILURE! - in 
> org.apache.hadoop.yarn.server.router.clientrm.TestRouterClientRMService
> testRouterClientRMServiceE2E(org.apache.hadoop.yarn.server.router.clientrm.TestRouterClientRMService)
>   Time elapsed: 0.07 sec  <<< ERROR!
> java.lang.reflect.UndeclaredThrowableException: null
>       at 
> org.apache.hadoop.yarn.server.MockResourceManagerFacade.forceKillApplication(MockResourceManagerFacade.java:457)
>       at 
> org.apache.hadoop.yarn.server.router.clientrm.DefaultClientRequestInterceptor.forceKillApplication(DefaultClientRequestInterceptor.java:166)
>       at 
> org.apache.hadoop.yarn.server.router.clientrm.PassThroughClientRequestInterceptor.forceKillApplication(PassThroughClientRequestInterceptor.java:105)
>       at 
> org.apache.hadoop.yarn.server.router.clientrm.PassThroughClientRequestInterceptor.forceKillApplication(PassThroughClientRequestInterceptor.java:105)
>       at 
> org.apache.hadoop.yarn.server.router.clientrm.PassThroughClientRequestInterceptor.forceKillApplication(PassThroughClientRequestInterceptor.java:105)
>       at 
> org.apache.hadoop.yarn.server.router.clientrm.RouterClientRMService.forceKillApplication(RouterClientRMService.java:217)
>       at 
> org.apache.hadoop.yarn.server.router.clientrm.BaseRouterClientRMTest$3.run(BaseRouterClientRMTest.java:218)
>       at 
> org.apache.hadoop.yarn.server.router.clientrm.BaseRouterClientRMTest$3.run(BaseRouterClientRMTest.java:212)
>       at java.security.AccessController.doPrivileged(Native Method)
>       at javax.security.auth.Subject.doAs(Subject.java:422)
>       at 
> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1965)
>       at 
> org.apache.hadoop.yarn.server.router.clientrm.BaseRouterClientRMTest.forceKillApplication(BaseRouterClientRMTest.java:212)
>       at 
> org.apache.hadoop.yarn.server.router.clientrm.TestRouterClientRMService.testRouterClientRMServiceE2E(TestRouterClientRMService.java:111)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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

Reply via email to