mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Park (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MESOS-7705) Reconsider restricting the resource format for frameworks.
Date Sat, 01 Jul 2017 06:16:00 GMT

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

Michael Park updated MESOS-7705:
--------------------------------
    Description: 
We output the "endpoint" format through the endpoints
for backward compatibility of external tooling. A framework should be
able to use the result of an endpoint and pass it back to Mesos,
since the result was produced by Mesos. This is especially applicable
to the V1 API. We also allow the "pre-reservation-refinement" format
because existing "resources files" are written in that format, and
they should still be usable without modification.

This is probably too flexible however, since a framework without
a RESERVATION_REFINEMENT capability could make refined reservations
using the "post-reservation-refinement" format, although they wouldn't be
offered such resources. It still seems undesirable if anyone were to
run into it, and we should consider adding back sensible restrictions.

  was:
We output the "endpoint" format through the endpoints
for backward compatibility of external tooling. A framework should be
able to use the result of an endpoint and pass it back to Mesos,
since the result was produced by Mesos. This is especially applicable
to the V1 API. We also allow the "pre-reservation-refinement" format
because existing "resources files" are written in that format, and
they should still be usable without modification.

This is arguably a little too flexible however, and we should reconsider
restricting this in ways that are sensible.


> Reconsider restricting the resource format for frameworks.
> ----------------------------------------------------------
>
>                 Key: MESOS-7705
>                 URL: https://issues.apache.org/jira/browse/MESOS-7705
>             Project: Mesos
>          Issue Type: Bug
>          Components: master
>            Reporter: Michael Park
>
> We output the "endpoint" format through the endpoints
> for backward compatibility of external tooling. A framework should be
> able to use the result of an endpoint and pass it back to Mesos,
> since the result was produced by Mesos. This is especially applicable
> to the V1 API. We also allow the "pre-reservation-refinement" format
> because existing "resources files" are written in that format, and
> they should still be usable without modification.
> This is probably too flexible however, since a framework without
> a RESERVATION_REFINEMENT capability could make refined reservations
> using the "post-reservation-refinement" format, although they wouldn't be
> offered such resources. It still seems undesirable if anyone were to
> run into it, and we should consider adding back sensible restrictions.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message