hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-2549) TestContainerLaunch fails due to classpath problem with hamcrest classes.
Date Tue, 16 Sep 2014 18:40:38 GMT

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

Hudson commented on YARN-2549:
------------------------------

FAILURE: Integrated in Hadoop-Mapreduce-trunk #1898 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1898/])
YARN-2549. TestContainerLaunch fails due to classpath problem with hamcrest classes. Contributed
by Chris Nauroth. (cnauroth: rev 9d4ec97c95b51c6f99112030da91950551b22b9c)
* hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/pom.xml
* hadoop-yarn-project/CHANGES.txt


> 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
>             Fix For: 2.6.0
>
>         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)

Mime
View raw message