hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-1642) Jobs using LocalJobRunner + JobControl fails
Date Tue, 06 Nov 2007 17:13:50 GMT

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

Doug Cutting commented on HADOOP-1642:
--------------------------------------

bq. Can anyone tell why hudson couldn't apply the patch?

Here's what I see when I attempt to apply this to trunk:
{noformat}
 % patch -p 0 < ~/Desktop/HADOOP-1642-4.patch 
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 #3 succeeded at 90 (offset 3 lines).
Hunk #4 succeeded at 106 (offset 3 lines).
Hunk #5 succeeded at 125 (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
{noformat}

> 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.


Mime
View raw message