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

"Reversed (or previously applied) patch detected" for hadoop-common-project/hadoop-common/dev-support/jdiff-workaround.patch

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.4.0
    • None
    • None
    • None

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            xinglin Xing Lin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: