hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsuyoshi OZAWA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-2328) FairScheduler: Verify update and continuous scheduling threads are stopped when the scheduler is stopped
Date Tue, 29 Jul 2014 23:44:39 GMT

    [ https://issues.apache.org/jira/browse/YARN-2328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14078625#comment-14078625
] 

Tsuyoshi OZAWA commented on YARN-2328:
--------------------------------------

{quote}
Had an offline discussion with Sandy. This approach of having a single background-tasks-thread
would adversely affect continuous scheduling as that would be gated on a sleep and often-longer
update.
{quote}

Checked preview patch. It makes sense to me. Thanks for taking this issue, Karthik.

> FairScheduler: Verify update and continuous scheduling threads are stopped when the scheduler
is stopped
> --------------------------------------------------------------------------------------------------------
>
>                 Key: YARN-2328
>                 URL: https://issues.apache.org/jira/browse/YARN-2328
>             Project: Hadoop YARN
>          Issue Type: Improvement
>    Affects Versions: 2.4.1
>            Reporter: Karthik Kambatla
>            Assignee: Karthik Kambatla
>            Priority: Minor
>         Attachments: yarn-2328-1.patch, yarn-2328-2.patch, yarn-2328-2.patch, yarn-2328-preview.patch
>
>
> FairScheduler threads can use a little cleanup and tests. To begin with, the update and
continuous-scheduling threads should extend Thread and handle being interrupted. We should
have tests for starting and stopping them as well. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message