If you follow the "Console output" link you'll see this:

patching file src/test/org/apache/hadoop/mapred/jobcontrol/ TestLocalJobControl.java patching file src/test/org/apache/hadoop/mapred/jobcontrol/ TestJobControl.java
Hunk #1 FAILED at 18.
Hunk #2 succeeded at 47 (offset 3 lines).
Hunk #4 succeeded at 106 (offset 3 lines).
1 out of 5 hunks FAILED -- saving rejects to file src/test/org/apache/ hadoop/mapred/jobcontrol/TestJobControl.java.rej patching file src/test/org/apache/hadoop/mapred/jobcontrol/ JobControlTestUtils.java
patching file src/java/org/apache/hadoop/mapred/LocalJobRunner.java
Hunk #2 FAILED at 268.
1 out of 2 hunks FAILED -- saving rejects to file src/java/org/apache/ hadoop/mapred/LocalJobRunner.java.rej
PATCH APPLICATION FAILED

Also included in the -1 comment is the revision # that this patch was tested against:

-1 overall.  Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12368990/ HADOOP-1642-4.patch
against trunk revision r591880.

These 2 pieces of info should help you understand why the patch couldn't be applied.

Cheers,
Nige


On Nov 6, 2007, at 1:52 AM, Adrian Woodhead (JIRA) wrote:


[ https://issues.apache.org/jira/browse/HADOOP-1642? page=com.atlassian.jira.plugin.system.issuetabpanels:comment- tabpanel#action_12540391 ]

Adrian Woodhead commented on HADOOP-1642:
-----------------------------------------

Can anyone tell why hudson couldn't apply the patch? I generated it according to the hadoop wiki docs and can apply it just fine to the trunk myself...

Jobs using LocalJobRunner + JobControl fails
--------------------------------------------

                Key: HADOOP-1642
URL: https://issues.apache.org/jira/browse/ HADOOP-1642
            Project: Hadoop
         Issue Type: Bug
   Affects Versions: 0.14.3
           Reporter: Johan Oskarsson
           Assignee: Doug Cutting
           Priority: Critical
            Fix For: 0.16.0

Attachments: HADOOP-1642-2.patch, HADOOP-1642-3.patch, HADOOP-1642-4.patch, HADOOP-1642.patch


If I run several jobs at the same time using JobControl and the LocalJobRunner i get: java.io.IOException: Target /tmp/hadoop-johan/mapred/local/ localRunner/job_local_1.xml already exists. It seems like the JobControl class tries to run multiple jobs with the same jobid, causing the exception.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Reply via email to