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

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

If so, what do you think about changing your code like below?

{code}
if (mesos or yarn mode) {
  this.totalTaskCapacity = conf.getInt(Constants.MAX_TASKS, 10);
} else {
  // classic cluster mode
  this.totalTaskCapacity = tasksPerGroom * numGroomServers;
}
{code}

> Hama on Mesos
> -------------
>
>                 Key: HAMA-726
>                 URL: https://issues.apache.org/jira/browse/HAMA-726
>             Project: Hama
>          Issue Type: New Feature
>          Components: bsp core
>            Reporter: Suraj Menon
>            Assignee: Jeff Fenchel
>         Attachments: HAMA-726.patch
>
>
> Since we are going to refactor our code to work on YARN, it would be nice to 
> keep our abstraction levels to make it feasible to work on Mesos. 
> Documentation: http://incubator.apache.org/mesos/documentation.html
> Framework development guide:
> https://github.com/mesos/mesos/wiki/App-Framework-development-guide



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

Reply via email to