You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Brice Arnould (JIRA)" <ji...@apache.org> on 2008/07/09 16:41:32 UTC

[jira] Created: (HADOOP-3728) Cannot run more than one instance of examples.SleepJob at the same time.

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
            Priority: Minor


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.


[jira] Assigned: (HADOOP-3728) Cannot run more than one instance of examples.SleepJob at the same time.

Posted by "Arun C Murthy (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-3728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arun C Murthy reassigned HADOOP-3728:
-------------------------------------

    Assignee: Bill de hOra  (was: Brice Arnould)

> 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: Bill de hOra
>            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.


[jira] Updated: (HADOOP-3728) Cannot run more than one instance of examples.SleepJob at the same time.

Posted by "Chris Douglas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-3728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Status: Open  (was: Patch Available)

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


[jira] Updated: (HADOOP-3728) Cannot run more than one instance of examples.SleepJob at the same time.

Posted by "Brice Arnould (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-3728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brice Arnould updated HADOOP-3728:
----------------------------------

    Assignee: Brice Arnould
      Status: Patch Available  (was: Open)

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


[jira] Updated: (HADOOP-3728) Cannot run more than one instance of examples.SleepJob at the same time.

Posted by "Chris Douglas (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Updated: (HADOOP-3728) Cannot run more than one instance of examples.SleepJob at the same time.

Posted by "Chris Douglas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-3728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Status: Patch Available  (was: Open)

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


[jira] Commented: (HADOOP-3728) Cannot run more than one instance of examples.SleepJob at the same time.

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-3728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12624752#action_12624752 ] 

Hudson commented on HADOOP-3728:
--------------------------------

Integrated in Hadoop-trunk #581 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/581/])

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


[jira] Commented: (HADOOP-3728) Cannot run more than one instance of examples.SleepJob at the same time.

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-3728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12613069#action_12613069 ] 

Hadoop QA commented on HADOOP-3728:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12385632/makeSleepUseUIID.patch
  against trunk revision 676069.

    +1 @author.  The patch does not contain any @author tags.

    -1 tests included.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no tests are needed for this patch.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed core unit tests.

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2836/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2836/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2836/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2836/console

This message is automatically generated.

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


[jira] Commented: (HADOOP-3728) Cannot run more than one instance of examples.SleepJob at the same time.

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-3728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12613980#action_12613980 ] 

Hadoop QA commented on HADOOP-3728:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12386077/3728-0.patch
  against trunk revision 677264.

    +1 @author.  The patch does not contain any @author tags.

    -1 tests included.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no tests are needed for this patch.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    -1 javac.  The applied patch generated 521 javac compiler warnings (more than the trunk's current 520 warnings).

    +1 findbugs.  The patch does not introduce any new Findbugs warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed core unit tests.

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2874/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2874/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2874/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2874/console

This message is automatically generated.

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


[jira] Assigned: (HADOOP-3728) Cannot run more than one instance of examples.SleepJob at the same time.

Posted by "Arun C Murthy (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-3728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arun C Murthy reassigned HADOOP-3728:
-------------------------------------

    Assignee: Brice Arnould  (was: Bill de hOra)

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


[jira] Updated: (HADOOP-3728) Cannot run more than one instance of examples.SleepJob at the same time.

Posted by "Brice Arnould (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-3728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brice Arnould updated HADOOP-3728:
----------------------------------

    Attachment: makeSleepUseUIID.patch

Adding a random string to the filename should solve this problem.

> 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
>            Priority: Minor
>         Attachments: 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.


[jira] Updated: (HADOOP-3728) Cannot run more than one instance of examples.SleepJob at the same time.

Posted by "Arun C Murthy (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-3728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arun C Murthy updated HADOOP-3728:
----------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

I just committed this. Thanks Brice & Chris!

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