You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myriad.apache.org by "DarinJ (JIRA)" <ji...@apache.org> on 2016/06/09 16:30:21 UTC

[jira] [Commented] (MYRIAD-213) Better Resource Matching/Task Resource Creation

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

DarinJ commented on MYRIAD-213:
-------------------------------

I've looked into this a bit, I think I'll break it into the following subtasks:

1. Resolve NMPorts by adding a more general Ports container class, Refactor ExecutorCommandLineGenerator classes to use this class (will resolve Myriad-214 in the process).  Refactor TackFactory classes as necessary to work with this.  This adds a few methods to TaskUtils to get port Resources.

2. Refactor ResourceOffersEventHandler, here I'll actually create a ResourceProfile which will be passed to the TaskFactories.  I'll then refactor TaskFactories appropriately.  This should made everything more modular and remove a lot of redundant code (which is executed more than needed).


> Better Resource Matching/Task Resource Creation
> -----------------------------------------------
>
>                 Key: MYRIAD-213
>                 URL: https://issues.apache.org/jira/browse/MYRIAD-213
>             Project: Myriad
>          Issue Type: Bug
>          Components: Scheduler
>    Affects Versions: Myriad 0.2.0
>            Reporter: DarinJ
>            Priority: Minor
>
> Currently ResourceOffersEventHandler matches resources in an offer to tasks then TaskFactory adds them to a task.  However, they both have to cycle through the offers.  This is inefficient and could be optimized. 



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