You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by "Yifan Gu (JIRA)" <ji...@apache.org> on 2014/06/18 03:53:09 UTC

[jira] [Updated] (MESOS-1484) Investigate simplifications to the slave message handlers validation logic.

     [ https://issues.apache.org/jira/browse/MESOS-1484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yifan Gu updated MESOS-1484:
----------------------------

    Summary: Investigate simplifications to the slave message handlers validation logic.  (was: Make the checker code into modules)

> Investigate simplifications to the slave message handlers validation logic.
> ---------------------------------------------------------------------------
>
>                 Key: MESOS-1484
>                 URL: https://issues.apache.org/jira/browse/MESOS-1484
>             Project: Mesos
>          Issue Type: Improvement
>            Reporter: Yifan Gu
>            Priority: Minor
>
> Currently, we can see a lot of similar codes checking the validation of frameworkId, slaveId, executorId and so on, in the beginning of the message handlers (say launchTasks, killTask). I think maybe we could put those codes into separate modules with well defined interfaces. 
> I think this can help us to improve the readability of the code.
> Any ideas or discussion on this is highly welcome! Thank you!



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