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

test-patch fails to apply the patch

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Not A Problem
    • 0.22.0
    • None
    • build
    • None
    • This is not a problem anymore

    Description

      The patch needs to be applied from the root of the repository. The when test-patch is run frm common, hdfs or mapreduce subdirectories, the test-patch fails in applying the patch .

      The error is shown below

      [exec] ======================================================================
      [exec] Applying patch.
      [exec] ======================================================================
      [exec] ======================================================================
      [exec]
      [exec]
      [exec] can't find file to patch at input line 5
      [exec] Perhaps you used the wrong -p or --strip option?
      [exec] The text leading up to this was:
      [exec] --------------------------
      [exec] |diff --git mapreduce/build.xml mapreduce/build.xml
      [exec] |index ff73822..6a24ff2 100644
      [exec] |--- mapreduce/build.xml
      [exec] |+++ mapreduce/build.xml
      [exec] --------------------------
      [exec] File to patch:
      [exec] Skip this patch? [y]

      Attachments

        1. hadoop-8416.patch
          0.6 kB
          Benoy Antony

        Activity

          People

            benoyantony Benoy Antony
            benoyantony Benoy Antony
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: