Benoy Antony created HADOOP-8416:
------------------------------------

             Summary: test-patch fails to apply the patch
                 Key: HADOOP-8416
                 URL: https://issues.apache.org/jira/browse/HADOOP-8416
             Project: Hadoop Common
          Issue Type: Bug
          Components: build
    Affects Versions: 0.22.0
            Reporter: Benoy Antony
            Assignee: Benoy Antony
            Priority: Minor


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] 


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to