hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benoy Antony (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-8416) test-patch fails to apply the patch
Date Sat, 19 May 2012 23:54:41 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-8416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Benoy Antony updated HADOOP-8416:
---------------------------------

    Attachment: hadoop-8416.patch

The attached patch solves the problem by changing the working directory to the parent. After
the patch is applied , it restores the working directory to the original.
                
> 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
>         Attachments: hadoop-8416.patch
>
>
> 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

        

Mime
View raw message