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

Arpit Agarwal commented on YARN-2549:
-------------------------------------

+1 for the patch.

> TestContainerLaunch fails due to classpath problem with hamcrest classes.
> -------------------------------------------------------------------------
>
>                 Key: YARN-2549
>                 URL: https://issues.apache.org/jira/browse/YARN-2549
>             Project: Hadoop YARN
>          Issue Type: Test
>          Components: nodemanager, test
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>            Priority: Minor
>         Attachments: YARN-2549.1.patch
>
>
> The mockito jar bundles its own copy of the hamcrest classes, and it's ahead 
> of our hamcrest dependency jar on the test classpath for 
> hadoop-yarn-server-nodemanager.  Unfortunately, the version bundled in 
> mockito doesn't match the version we need, so it's missing the 
> {{CoreMatchers#containsString}} method.  This causes the tests to fail with 
> {{NoSuchMethodError}} on Windows.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to