Description
TestTezCommonUtils fails when compiled against hadoop 2.8 or later:
$ 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)