Description
tried to compile under Hadoop-common-project and noticed the following.
trunk: commit f609460bda0c2bd87dd3580158e549e2f34f14d5
$ mvn clean package -Pdist,docs -DskipTests -Dtar patching file 'hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/metrics2/MetricsSystem.java' Reversed (or previously applied) patch detected! Assume -R? [y] 1 out of 2 hunks failed--saving rejects to 'hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/metrics2/MetricsSystem.java.rej' patching file 'hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/metrics2/impl/MetricsSystemImpl.java' Reversed (or previously applied) patch detected! Assume -R? [y] patching file 'hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/metrics2/impl/TestGangliaMetrics.java
also reproducible by
xinglin@xinglin-mn2 ~/p/h/trunk (trunk)> patch -p1 < hadoop-common-project/hadoop-common/dev-support/jdiff-workaround.patch patching file 'hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/metrics2/MetricsSystem.java' Reversed (or previously applied) patch detected! Assume -R? [y] 1 out of 2 hunks failed--saving rejects to 'hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/metrics2/MetricsSystem.java.rej' patching file 'hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/metrics2/impl/MetricsSystemImpl.java' Reversed (or previously applied) patch detected! Assume -R? [y] patching file 'hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/metrics2/impl/TestGangliaMetrics.java'
Build succeeded but the jdiff-workaround patch probably needs a fix.