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-1474) Make schedulers services
Date Thu, 16 Jan 2014 07:38:23 GMT

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

Tsuyoshi OZAWA commented on YARN-1474:
--------------------------------------

Main updates are as follows:

1. Made AbstractYarnScheduler AbstractService.
2. reinitialize() API just executes reloading configuration or reset initialization, because
this API is called from AdminService#refreshQueues().
3. setRMContext() API is for initializing RMContext in schedulers. This is because we can
only pass Configuration to serviceInit() API. 
4. Scheduers' serviceInit(Configuration conf) execute initialization of configurations or
threads.
5. Scheduler's serviceStart() start threads.
6. Scheduler's serviceStop() don't anything currently. Just calling super.serviceStop().

[~kkambatl] and [~vinodkv], do you have feedbacks?

> Make schedulers services
> ------------------------
>
>                 Key: YARN-1474
>                 URL: https://issues.apache.org/jira/browse/YARN-1474
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: scheduler
>    Affects Versions: 2.4.0
>            Reporter: Sandy Ryza
>            Assignee: Tsuyoshi OZAWA
>         Attachments: YARN-1474.1.patch, YARN-1474.2.patch
>
>
> Schedulers currently have a reinitialize but no start and stop.  Fitting them into the
YARN service model would make things more coherent.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message