Jie Yu created MESOS-2305:
-----------------------------

             Summary: Refactor validators in Master.
                 Key: MESOS-2305
                 URL: https://issues.apache.org/jira/browse/MESOS-2305
             Project: Mesos
          Issue Type: Bug
            Reporter: Jie Yu


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)

Reply via email to