Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-2898

Build with test fails due to ClassFormatError due to hadoop-hdds-client test

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 0.5.0
    • None

    Description

      output of mvn clean package, not sure if it's normal

      [INFO] Reactor Summary for Apache Hadoop Ozone Main 0.5.0-SNAPSHOT:
      [INFO]
      [INFO] Apache Hadoop Ozone Main ........................... SUCCESS [  0.789 s]
      [INFO] Apache Hadoop HDDS ................................. SUCCESS [  2.994 s]
      [INFO] Apache Hadoop HDDS Config .......................... SUCCESS [  4.201 s]
      [INFO] Apache Hadoop HDDS Common .......................... SUCCESS [02:16 min]
      [INFO] Apache Hadoop HDDS Client .......................... FAILURE [  1.052 s]
      [INFO] Apache Hadoop HDDS Server Framework ................ SKIPPED
      [INFO] Apache Hadoop HDDS Container Service ............... SKIPPED
      [INFO] Apache Hadoop HDDS/Ozone Documentation ............. SKIPPED
      [INFO] Apache Hadoop HDDS SCM Server ...................... SKIPPED
      [INFO] Apache Hadoop HDDS Tools ........................... SKIPPED
      [INFO] Apache Hadoop Ozone ................................ SKIPPED
      [INFO] Apache Hadoop Ozone Common ......................... SKIPPED
      [INFO] Apache Hadoop Ozone Client ......................... SKIPPED
      [INFO] Apache Hadoop Ozone Manager Server ................. SKIPPED
      [INFO] Apache Hadoop Ozone FileSystem ..................... SKIPPED
      [INFO] Apache Hadoop Ozone Tools .......................... SKIPPED
      [INFO] Apache Hadoop Ozone S3 Gateway ..................... SKIPPED
      [INFO] Apache Hadoop Ozone CSI service .................... SKIPPED
      [INFO] Apache Hadoop Ozone Recon CodeGen .................. SKIPPED
      [INFO] Apache Hadoop Ozone Recon .......................... SKIPPED
      [INFO] Apache Hadoop Ozone Integration Tests .............. SKIPPED
      [INFO] Apache Hadoop Ozone Datanode ....................... SKIPPED
      [INFO] Apache Hadoop Ozone In-Place Upgrade ............... SKIPPED
      [INFO] Apache Hadoop Ozone Insight Tool ................... SKIPPED
      [INFO] Apache Hadoop Ozone FileSystem Single Jar Library .. SKIPPED
      [INFO] Apache Hadoop Ozone FileSystem Legacy Jar Library .. SKIPPED
      [INFO] Apache Hadoop Ozone Distribution ................... SKIPPED
      [INFO] Apache Hadoop Ozone Fault Injection Tests .......... SKIPPED
      [INFO] Apache Hadoop Ozone Network Tests .................. SKIPPED
      [INFO] Apache Hadoop Ozone Mini Ozone Chaos Tests ......... SKIPPED
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time:  02:26 min
      [INFO] Finished at: 2020-01-17T11:31:57+08:00
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M1:test (default-test) on project hadoop-hdds-client: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M1:test failed: java.lang.ClassFormatError: Illegal field name "org.apache.hadoop.hdds.scm.storage.TestBlockInputStream$this" in class org/apache/hadoop/hdds/scm/storage/TestBlockInputStream$DummyBlockInputStreamWithRetry -> [Help 1]
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR]
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
      [ERROR]
      [ERROR] After correcting the problems, you can resume the build with the command
      [ERROR]   mvn <goals> -rf :hadoop-hdds-client
      

      Attachments

        Issue Links

          Activity

            People

              elek Marton Elek
              iamabug Xiang Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m