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

mvn site commands fails due to MetricsSystemImpl changes

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.2, 3.3.1, 3.4.0, 3.2.3
    • Component/s: None
    • Labels:
      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.002.patch
          4 kB
          Xiaoqiao He
        2. HADOOP-17329.001.patch
          4 kB
          Xiaoqiao He

        Issue Links

          Activity

            People

            • Assignee:
              hexiaoqiao Xiaoqiao He
              Reporter:
              hexiaoqiao Xiaoqiao He

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment