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/19 06:59:21 UTC

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

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

Jihoon Son edited comment on TAJO-314 at 11/19/13 5:57 AM:
-----------------------------------------------------------

Hyunsik, thanks for your comment.
However, I realized that TaskSchedulerEvent also can be changed according to the task scheduling algorithm, because the required information depends on the algorithms.
So, how about the following configurations?
{code}
  <!--- Registered Scheduler Handler -->
  <property>
    <name>tajo.querymaster.task-scheduler-handler</name>
    <value>default</value>
  </property>

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

  <!--- Scheduler Handler -->
  <property>
    <name>tajo.querymaster.task-scheduler.default.class</name>
    <value>org.apache.tajo.master.DefaultTaskScheduler</value>
  </property>

  <!-- Scheduler Event handler -->
  <property>
    <name>tajo.querymaster.task-schedule-event.default.class</name>
    <value>org.apache.tajo.master.event.DefaultSchedulerEvent</value>
  </property>
{code}


was (Author: jihoonson):
Hyunsik, thanks for your comment.
However, I realized that TaskSchedulerEvent also can be changed according to the task scheduling algorithm, because algorith

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