Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-2549

TestContainerLaunch fails due to classpath problem with hamcrest classes.

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.6.0
    • nodemanager, test
    • None
    • Reviewed

    Description

      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.

      Attachments

        1. YARN-2549.1.patch
          2 kB
          Chris Nauroth

        Activity

          People

            cnauroth Chris Nauroth
            cnauroth Chris Nauroth
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: