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

Chris Douglas updated HADOOP-3728:
----------------------------------

    Attachment: 3728-0.patch

We could avoid writing a file at all. It looks like the input is used only to 
control the number of sleeps each mapper should observe, so we can write a 
RecordReader that emits the expected number of records to each map.

> Cannot run more than one instance of examples.SleepJob at the same time.
> ------------------------------------------------------------------------
>
>                 Key: HADOOP-3728
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3728
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: examples
>            Reporter: Brice Arnould
>            Assignee: Brice Arnould
>            Priority: Minor
>         Attachments: 3728-0.patch, makeSleepUseUIID.patch
>
>
> All instances of org.apache.hadoop.examples.SleepJob use the same file to 
> store temporary datas. So it is not possible to run more than one of them at 
> the same time.

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