[
https://issues.apache.org/jira/browse/MESOS-10177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17199368#comment-17199368
]
Andrei Sekretenko commented on MESOS-10177:
-------------------------------------------
{noformat}
commit 89576d8f4d322e2b2436ddd9ed882e71937ca61c
Author: Andrei Sekretenko <[email protected]>
Date: Thu Sep 17 19:37:51 2020 +0200
Made the hierarchical allocator store `FrameworkInfo` internally.
To make it possible to add into the allocator debugguing HTTP endpoints
that will need to authorize principal's viewing access to frameworks,
it becomes necessary to store `FrameworkInfo` in the allocator, so that
it can compose an authorization object for the VIEW_FRAMEWORK action.
Review: https://reviews.apache.org/r/72885
commit 095a409913506b0f12772c9a1ee380a67417b083
Author: Andrei Sekretenko <[email protected]>
Date: Thu Sep 17 19:23:19 2020 +0200
Enforced explicit construction of `protobuf::...::Capabilities`.
This makes Mesos code more compliant with the Google C++ styleguide's
rule banning implicit conversions for non-interchangeable types,
for which the Mesos styleguide makes no exception.
In particular, not enabling a type conversion from an iterable into
`Capabilities` disallows puzzling code that looks like copying the same
protobuf twice. Now, an example like
```
framework.info = info;
framework.capabilities = info.capabilities();`
```
can no longer occur.
Review: https://reviews.apache.org/r/72886
commit 7aee5a87d117601b0f551a68dac4ea25903e5f81
Author: Andrei Sekretenko <[email protected]>
Date: Wed Sep 9 14:48:00 2020 +0200
Added an endpoint for debugging offer constraints.
Review: https://reviews.apache.org/r/72851
{noformat}
> Add an endpoint for offer constraints debug
> -------------------------------------------
>
> Key: MESOS-10177
> URL: https://issues.apache.org/jira/browse/MESOS-10177
> Project: Mesos
> Issue Type: Task
> Reporter: Andrei Sekretenko
> Assignee: Andrei Sekretenko
> Priority: Major
>
> Mesos master should expose an endpoint allowing operator to view results of
> offer constraints evaluation for all roles of all frameworks for all agents.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)