Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-17329

mvn site commands fails due to MetricsSystemImpl changes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.3.1, 3.4.0
    • 3.2.2, 3.3.1, 3.4.0, 3.2.3
    • build, common
    • None

    Description

      When prepare for branch-3.2.2 release, i found there is one issue while create release. And it also exist in trunk.
      command line: mvn install site site:stage -DskipTests -DskipShade -Pdist,src -Preleasedocs,docs
      failed log show as the following:

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.6:site (default-site) on project hadoop-common: failed to get report for org.apache.maven.plugins:maven-dependency-plugin: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project hadoop-common: Compilation failure
      [ERROR] /Users/hexiaoqiao/Source/hadoop-common/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/metrics2/impl/MetricsSystemImpl.java:[298,5] method <T>register(java.lang.String,java.lang.String,T) is already defined in class org.apache.hadoop.metrics2.impl.MetricsSystemImpl

      I am not sure why source code of class MetricsSystemImpl will be changed while building, I try to revert HADOOP-17081 everything seems OK.

      Attachments

        1. HADOOP-17329.001.patch
          4 kB
          Xiaoqiao He
        2. HADOOP-17329.002.patch
          4 kB
          Xiaoqiao He

        Issue Links

          Activity

            People

              hexiaoqiao Xiaoqiao He
              hexiaoqiao Xiaoqiao He
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: