You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tajo.apache.org by "Jihoon Son (JIRA)" <ji...@apache.org> on 2013/11/18 12:35:21 UTC

[jira] [Updated] (TAJO-314) Make TaskScheduler be pluggable

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

Jihoon Son updated TAJO-314:
----------------------------

    Attachment: TAJO-314.patch

In this patch, I added following features.
* TaskScheduler
** Change to an abstract class that extends AbstractService
** Rename to AbstractTaskScheduler
* TaskSchedulerImpl
** Rename to DefaultTaskScheduler
* Add TaskSchedulerFactory that creates an instance of TaskScheduler according to the following configurations
* Add the following configurations to tajo-default.xml
{code}
<!--- Registered Scheduler Handler -->
<property>
  <name>tajo.master.scheduler-handler</name>
  <value>default</value>
</property>

<!--- Scheduler Configuration -->
<property>
  <name>tajo.master.scheduler.type</name>
  <value>default</value>
</property>

<!--- Scheduler Handler -->
<property>
  <name>tajo.master.scheduler-handler.default.class</name>
  <value>org.apache.tajo.master.DefaultTaskScheduler</value>
</property>
{code}

> Make TaskScheduler be pluggable
> -------------------------------
>
>                 Key: TAJO-314
>                 URL: https://issues.apache.org/jira/browse/TAJO-314
>             Project: Tajo
>          Issue Type: Improvement
>          Components: master
>            Reporter: Jihoon Son
>            Assignee: Jihoon Son
>             Fix For: 0.8-incubating
>
>         Attachments: TAJO-314.patch
>
>
> The task scheduler can be changed according to the task scheduling algorithm, the locality policy of the storage, and so on.
> Thus, we need to improve the task scheduler interface to be pluggable.



--
This message was sent by Atlassian JIRA
(v6.1#6144)