hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Shvachko (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8416) test-patch fails to apply the patch
Date Sun, 20 May 2012 00:44:41 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-8416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13279641#comment-13279641

Konstantin Shvachko commented on HADOOP-8416:

What is the patch you are trying to apply? I assume it is the mega security one?
If a patch is generated relative to repo root, then test-patch will not be able to apply while
running from common, hdfs or mapreduce. test-patch is actually supposed to run from one of
the three, not from the root.
If your modification covers both cases, then it is ok. I don't think it does though. Could
you please clarify.

> 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


View raw message