Uploaded image for project: 'Apache Tez'
  1. Apache Tez
  2. TEZ-3898

TestTezCommonUtils fails when compiled against hadoop version >= 2.8

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.9.2
    • None
    • None

    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)
      

      Attachments

        1. TEZ-3898.001.patch
          0.5 kB
          Jason Darrell Lowe

        Activity

          People

            jlowe Jason Darrell Lowe
            jlowe Jason Darrell Lowe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: