You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Jie Yu (JIRA)" <ji...@apache.org> on 2015/02/03 19:59:35 UTC

[jira] [Closed] (MESOS-2305) Refactor validators in Master.

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

Jie Yu closed MESOS-2305.
-------------------------
       Resolution: Fixed
    Fix Version/s: 0.22.0

commit b22d7addbc03dfe4a5aa63a05e4f805b1c15631d
Author: Jie Yu <yu...@gmail.com>
Date:   Fri Jan 30 11:12:13 2015 -0800

    Refactored task/offer/resource valiation in master.
    
    Review: https://reviews.apache.org/r/30459

> Refactor validators in Master.
> ------------------------------
>
>                 Key: MESOS-2305
>                 URL: https://issues.apache.org/jira/browse/MESOS-2305
>             Project: Mesos
>          Issue Type: Bug
>            Reporter: Jie Yu
>            Assignee: Jie Yu
>             Fix For: 0.22.0
>
>
> There are several motivation for this. We are in the process of adding dynamic reservations and persistent volumes support in master. To do that, master needs to validate relevant operations from the framework (See Offer::Operation in mesos.proto). The existing validator style in master is hard to extend, compose and re-use.
> Another motivation for this is for unit testing (MESOS-1064). Right now, we write integration tests for those validators which is unfortunate.



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