[ https://issues.apache.org/jira/browse/MYRIAD-162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14997603#comment-14997603 ]
Aashreya Ravi Shankar commented on MYRIAD-162: ---------------------------------------------- Looks like we are calculating the executor resources for mem and cpu twice in TaskFactory. I see more resources being consumed by each NM task. Is it possible to fix it for 0.1 release? Or should we address this as a part of the next release ? > Myriad Not Correctly Dealing with Resources from Multiple Roles > --------------------------------------------------------------- > > Key: MYRIAD-162 > URL: https://issues.apache.org/jira/browse/MYRIAD-162 > Project: Myriad > Issue Type: Bug > Components: Scheduler > Affects Versions: Myriad 0.1.0 > Environment: Any where frameworkRole is not * > Reporter: DarinJ > Assignee: DarinJ > Fix For: Myriad 0.1.0 > > > When using Offers that have Resources from multiple roles, one needs to use > the setRole(String role) method to specify which role the resource belongs > to. Myriad currently doesn't do this which causes TASK_LOST, with an error > in the mesos-master log stating in "attempted to use cpus( * ): 1.2; mem( * > ): 1305.6; ports( * ): [31005-31005,31006-31006,...] greater than offered > cpu( * ):1, mem( * ): 1400, ports( * ): [ ... ], cpu(roleA): 3, mem(roleA): > 10000, ports(roleA): [...]. -- This message was sent by Atlassian JIRA (v6.3.4#6332)