You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Scott Chen (JIRA)" <ji...@apache.org> on 2010/07/28 01:37:16 UTC

[jira] Created: (MAPREDUCE-1974) FairScheduler can preempt the same task many times

FairScheduler can preempt the same task many times
--------------------------------------------------

                 Key: MAPREDUCE-1974
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1974
             Project: Hadoop Map/Reduce
          Issue Type: Bug
            Reporter: Scott Chen
            Assignee: Scott Chen


In FairScheduler.preemptTasks(), tasks are collected from JobInProgress.runningMapCache.
But tasks repeat multiple times in  JobInProgress.runningMapCache (on rack, node and cluster).
This makes FairScheduler preempt the same task many times.

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


[jira] Updated: (MAPREDUCE-1974) FairScheduler can preempt the same task many times

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

Scott Chen updated MAPREDUCE-1974:
----------------------------------

    Status: Open  (was: Patch Available)

> FairScheduler can preempt the same task many times
> --------------------------------------------------
>
>                 Key: MAPREDUCE-1974
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1974
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: contrib/fair-share
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Scott Chen
>            Assignee: Scott Chen
>             Fix For: 0.22.0
>
>         Attachments: MAPREDUCE-1974.txt
>
>
> In FairScheduler.preemptTasks(), tasks are collected from JobInProgress.runningMapCache.
> But tasks repeat multiple times in  JobInProgress.runningMapCache (on rack, node and cluster).
> This makes FairScheduler preempt the same task many times.

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


[jira] Updated: (MAPREDUCE-1974) FairScheduler can preempt the same task many times

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

Scott Chen updated MAPREDUCE-1974:
----------------------------------

        Fix Version/s: 0.22.0
    Affects Version/s: 0.21.0
                       0.22.0
                           (was: 0.20.1)

> FairScheduler can preempt the same task many times
> --------------------------------------------------
>
>                 Key: MAPREDUCE-1974
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1974
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: contrib/fair-share
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Scott Chen
>            Assignee: Scott Chen
>             Fix For: 0.22.0
>
>
> In FairScheduler.preemptTasks(), tasks are collected from JobInProgress.runningMapCache.
> But tasks repeat multiple times in  JobInProgress.runningMapCache (on rack, node and cluster).
> This makes FairScheduler preempt the same task many times.

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


[jira] Updated: (MAPREDUCE-1974) FairScheduler can preempt the same task many times

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

Scott Chen updated MAPREDUCE-1974:
----------------------------------

    Attachment: MAPREDUCE-1974.txt

> FairScheduler can preempt the same task many times
> --------------------------------------------------
>
>                 Key: MAPREDUCE-1974
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1974
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: contrib/fair-share
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Scott Chen
>            Assignee: Scott Chen
>             Fix For: 0.22.0
>
>         Attachments: MAPREDUCE-1974.txt
>
>
> In FairScheduler.preemptTasks(), tasks are collected from JobInProgress.runningMapCache.
> But tasks repeat multiple times in  JobInProgress.runningMapCache (on rack, node and cluster).
> This makes FairScheduler preempt the same task many times.

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


[jira] Updated: (MAPREDUCE-1974) FairScheduler can preempt the same task many times

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

Scott Chen updated MAPREDUCE-1974:
----------------------------------

    Affects Version/s: 0.20.1
          Component/s: contrib/fair-share

> FairScheduler can preempt the same task many times
> --------------------------------------------------
>
>                 Key: MAPREDUCE-1974
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1974
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: contrib/fair-share
>    Affects Versions: 0.20.1
>            Reporter: Scott Chen
>            Assignee: Scott Chen
>
> In FairScheduler.preemptTasks(), tasks are collected from JobInProgress.runningMapCache.
> But tasks repeat multiple times in  JobInProgress.runningMapCache (on rack, node and cluster).
> This makes FairScheduler preempt the same task many times.

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


[jira] Updated: (MAPREDUCE-1974) FairScheduler can preempt the same task many times

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

Scott Chen updated MAPREDUCE-1974:
----------------------------------

    Status: Patch Available  (was: Open)

> FairScheduler can preempt the same task many times
> --------------------------------------------------
>
>                 Key: MAPREDUCE-1974
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1974
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: contrib/fair-share
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Scott Chen
>            Assignee: Scott Chen
>             Fix For: 0.22.0
>
>         Attachments: MAPREDUCE-1974.txt
>
>
> In FairScheduler.preemptTasks(), tasks are collected from JobInProgress.runningMapCache.
> But tasks repeat multiple times in  JobInProgress.runningMapCache (on rack, node and cluster).
> This makes FairScheduler preempt the same task many times.

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


[jira] Commented: (MAPREDUCE-1974) FairScheduler can preempt the same task many times

Posted by "Matei Zaharia (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-1974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12903055#action_12903055 ] 

Matei Zaharia commented on MAPREDUCE-1974:
------------------------------------------

The patch looks good to me. Is there any way to test this? (Did you at least try to print the list before and see that a task is in there multiple times?)

> FairScheduler can preempt the same task many times
> --------------------------------------------------
>
>                 Key: MAPREDUCE-1974
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1974
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: contrib/fair-share
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Scott Chen
>            Assignee: Scott Chen
>             Fix For: 0.22.0
>
>         Attachments: MAPREDUCE-1974.txt
>
>
> In FairScheduler.preemptTasks(), tasks are collected from JobInProgress.runningMapCache.
> But tasks repeat multiple times in  JobInProgress.runningMapCache (on rack, node and cluster).
> This makes FairScheduler preempt the same task many times.

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


[jira] Commented: (MAPREDUCE-1974) FairScheduler can preempt the same task many times

Posted by "Scott Chen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-1974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12903099#action_12903099 ] 

Scott Chen commented on MAPREDUCE-1974:
---------------------------------------

Hi Matei,
I see multiple same preemption in the log. I think I should add a test here to verify that.

Scott

> FairScheduler can preempt the same task many times
> --------------------------------------------------
>
>                 Key: MAPREDUCE-1974
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1974
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: contrib/fair-share
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Scott Chen
>            Assignee: Scott Chen
>             Fix For: 0.22.0
>
>         Attachments: MAPREDUCE-1974.txt
>
>
> In FairScheduler.preemptTasks(), tasks are collected from JobInProgress.runningMapCache.
> But tasks repeat multiple times in  JobInProgress.runningMapCache (on rack, node and cluster).
> This makes FairScheduler preempt the same task many times.

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