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

Jonathan Eagles commented on TEZ-3898:
--------------------------------------

+1. Verified Correct behavior. Committed to master.

> TestTezCommonUtils fails when compiled against hadoop version >= 2.8
> --------------------------------------------------------------------
>
>                 Key: TEZ-3898
>                 URL: https://issues.apache.org/jira/browse/TEZ-3898
>             Project: Apache Tez
>          Issue Type: Bug
>            Reporter: Jason Lowe
>            Assignee: Jason Lowe
>            Priority: Major
>             Fix For: 0.9.2
>
>         Attachments: TEZ-3898.001.patch
>
>
> TestTezCommonUtils fails when compiled against hadoop 2.8 or later:
> {noformat}
> $ cd tez-api
> $ mvn test -Phadoop28 -P-hadoop27 -Dhadoop.version=2.8.3
> -Dtest=TestTezCommonUtilsRunning org.apache.tez.common.TestTezCommonUtils
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.266 sec <<< 
> FAILURE!
> org.apache.tez.common.TestTezCommonUtils  Time elapsed: 0.265 sec  <<< ERROR!
> java.lang.NoClassDefFoundError: 
> org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/FsDatasetFactory
>       at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
>       at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>       at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
>       at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>       at 
> org.apache.hadoop.hdfs.server.datanode.FsDatasetTestUtils$Factory.getFactory(FsDatasetTestUtils.java:47)
>       at 
> org.apache.hadoop.hdfs.MiniDFSCluster$Builder.<init>(MiniDFSCluster.java:199)
>       at 
> org.apache.tez.common.TestTezCommonUtils.setup(TestTezCommonUtils.java:60)
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to