[ https://issues.apache.org/jira/browse/HADOOP-17329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17221199#comment-17221199 ]
Xiaoqiao He commented on HADOOP-17329: -------------------------------------- Thanks [~sunilg] for your reviews. v002 try to fix blanks. {quote}Also you have removed a code snippet. is that safe to remove and needed to be removed for this issue?{quote} it seems that `git diff` generate the wrong format. Please give another check for v002 if have bandwidth. Thanks. > mvn site fails due to MetricsSystemImpl class > --------------------------------------------- > > Key: HADOOP-17329 > URL: https://issues.apache.org/jira/browse/HADOOP-17329 > Project: Hadoop Common > Issue Type: Bug > Reporter: Xiaoqiao He > Assignee: Xiaoqiao He > Priority: Major > Attachments: HADOOP-17329.001.patch, HADOOP-17329.002.patch > > > 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: > {quote}[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{quote} > I am not sure why source code of class MetricsSystemImpl will be changed > while building, I try to revert HADOOP-17081 everything seems OK. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org