You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Benjamin Bannier (JIRA)" <ji...@apache.org> on 2018/04/25 11:07:00 UTC

[jira] [Commented] (MESOS-7558) Add resource provider validation

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

Benjamin Bannier commented on MESOS-7558:
-----------------------------------------

{noformat}
commit 1679d4c85c0bd095e2dafaf7a95adde258db8179
Author: Benjamin Bannier <be...@mesosphere.io>
Date: Tue Apr 24 11:36:31 2018 +0200

Prevent resubscription of resource providers with unknown IDs.

This patch adds a check to the resource provider manager's subscribe
functionality making sure that any ID sent by a resubscribing resource
provider corresponds to some previously known resource provider.

This not only serves as convenient validation of user-provided data,
but also makes sure that the internal state of the resource provider
manager remains consistent.

Review: https://reviews.apache.org/r/66546/
{noformat}

> Add resource provider validation
> --------------------------------
>
>                 Key: MESOS-7558
>                 URL: https://issues.apache.org/jira/browse/MESOS-7558
>             Project: Mesos
>          Issue Type: Task
>          Components: master
>            Reporter: Jan Schlicht
>            Assignee: Benjamin Bannier
>            Priority: Major
>              Labels: mesosphere, storage
>
> Similar to how it's done during agent registration/re-registration, the informations provided by a resource provider need to get validation during certain operation (e.g. re-registration, while applying offer operations, ...).
> Some of these validations only cover the provided informations (e.g. are the resources in {{ResourceProviderInfo}} only of type {{disk}}), others take the current cluster state into account (e.g. do the resources that a task wants to use exist on the resource provider).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)