hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-449) MRAppMaster classpath not set properly for unit tests in downstream projects
Date Wed, 06 Mar 2013 04:14:14 GMT

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

Ted Yu commented on YARN-449:

Here is the result of using TestMinimrCliDriver:
    [junit] Formatting using clusterid: testClusterID
    [junit] Running org.apache.hadoop.hive.cli.TestMinimrCliDriver
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
    [junit] Test org.apache.hadoop.hive.cli.TestMinimrCliDriver FAILED

/Users/tyu/hive/build.xml:289: The following error occurred while executing this line:
/Users/tyu/hive/build.xml:291: The following error occurred while executing this line:
/Users/tyu/hive/build-common.xml:462: Tests failed!
The reason was:
  <error message="org.apache.hadoop.hdfs.MiniDFSCluster.getFileSystem()Lorg/apache/hadoop/fs/FileSystem;"
type="java.lang.NoSuchMethodError">java.lang.NoSuchMethodError: org.apache.hadoop.hdfs.MiniDFSCluster.getFileSystem()Lorg/apache/hadoop/fs/FileSystem;
  at org.apache.hadoop.hive.shims.HadoopShimsSecure$MiniDFSShim.getFileSystem(HadoopShimsSecure.java:126)
  at org.apache.hadoop.hive.ql.QTestUtil.&lt;init&gt;(QTestUtil.java:296)
  at org.apache.hadoop.hive.cli.TestMinimrCliDriver.&lt;clinit&gt;(TestMinimrCliDriver.java:45)
  at java.lang.Class.forName0(Native Method)
  at java.lang.Class.forName(Class.java:169)
  at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:373)
  at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1052)
  at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:906)
I will be in training the next two days, expect some delay in response.
> MRAppMaster classpath not set properly for unit tests in downstream projects
> ----------------------------------------------------------------------------
>                 Key: YARN-449
>                 URL: https://issues.apache.org/jira/browse/YARN-449
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 2.0.3-alpha
>            Reporter: Siddharth Seth
>            Priority: Blocker
>         Attachments: hbase-TestHFileOutputFormat-wip.txt, hbase-TestingUtility-wip.txt
> Post YARN-429, unit tests for HBase continue to fail since the classpath for the MRAppMaster
is not being set correctly.
> Reverting YARN-129 may fix this, but I'm not sure that's the correct solution. My guess
is, as Alexandro pointed out in YARN-129, maven classloader magic is messing up java.class.path.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message