hama-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward J. Yoon (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HAMA-900) Rotation task scheduler
Date Fri, 15 Jan 2016 01:17:39 GMT

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

Edward J. Yoon commented on HAMA-900:
-------------------------------------

Cool~

1) % mvn clean install
2) I personally think data locality should have 2nd priority in round-robin.
3) In getClass(String name, Class<? extends U> defaultValue, Class<U> interface)
method, "BestEffortDataLocalTaskAllocator.class" is just a default value. If you define the
"bsp.taskalloc.class" property in hama-site.xml, you can use it. We may also want to add default
configuration to the hama-default.xml like below:

{code}
  <property>
    <name>bsp.taskalloc.class</name>
    <value>org.apache.hama.bsp.taskallocation.BestEffortDataLocalTaskAllocator</value>
    <description>
      The task allocator to choose. Default is BestEffortDataLocalTaskAllocator that
      takes in only the data locality as a constraint for allocating tasks. 
    </description>
  </property>
{code}

> Rotation task scheduler
> -----------------------
>
>                 Key: HAMA-900
>                 URL: https://issues.apache.org/jira/browse/HAMA-900
>             Project: Hama
>          Issue Type: New Feature
>          Components: bsp core
>            Reporter: Edward J. Yoon
>
> To spread tasks widely, I need a FIFO job scheduler that assign tasks one at a time in
rotation of groom servers (a method of dealing cards).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message