[jira] [Commented] (MESOS-2741) Exposing Resources along with ResourceStatistics from resource monitor

2015-06-07 Thread haosdent (JIRA)

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

haosdent commented on MESOS-2741:
-

The patch: https://reviews.apache.org/r/35194/

I add Resource as a new field to ResourceStatistics in protobuf definition. And 
fill this field in Containerizer::usage .

> Exposing Resources along with ResourceStatistics from resource monitor
> --
>
> Key: MESOS-2741
> URL: https://issues.apache.org/jira/browse/MESOS-2741
> Project: Mesos
>  Issue Type: Bug
>Reporter: Jie Yu
>Assignee: haosdent
>  Labels: mesosphere, twitter
>
> Right now, the resource monitor returns a Usage which contains ContainerId, 
> ExecutorInfo and ResourceStatistics. In order for resource estimator/qos 
> controller to calculate usage slack, or tell if a container is using 
> revokable resources or not, we need to expose the Resources that are 
> currently assigned to the container.
> This requires us the change the containerizer interface to get the Resources 
> as well while calling 'usage()'.



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


[jira] [Commented] (MESOS-2741) Exposing Resources along with ResourceStatistics from resource monitor

2015-05-28 Thread Niklas Quarfot Nielsen (JIRA)

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

Niklas Quarfot Nielsen commented on MESOS-2741:
---

Think this ended being duplicated with 
https://issues.apache.org/jira/browse/MESOS-2772 and 
https://reviews.apache.org/r/34748/

Thought this was going to track, how to keep track of total resources (executor 
+ task), for the QoS controller to pick up what's BE and what's PR.

> Exposing Resources along with ResourceStatistics from resource monitor
> --
>
> Key: MESOS-2741
> URL: https://issues.apache.org/jira/browse/MESOS-2741
> Project: Mesos
>  Issue Type: Bug
>Reporter: Jie Yu
>Assignee: haosdent
>  Labels: mesosphere, twitter
>
> Right now, the resource monitor returns a Usage which contains ContainerId, 
> ExecutorInfo and ResourceStatistics. In order for resource estimator/qos 
> controller to calculate usage slack, or tell if a container is using 
> revokable resources or not, we need to expose the Resources that are 
> currently assigned to the container.
> This requires us the change the containerizer interface to get the Resources 
> as well while calling 'usage()'.



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


[jira] [Commented] (MESOS-2741) Exposing Resources along with ResourceStatistics from resource monitor

2015-05-19 Thread haosdent (JIRA)

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

haosdent commented on MESOS-2741:
-

And form implement this issue, how about change the interface in Container from 
{code}
virtual process::Future usage(
  const ContainerID& containerId) = 0;
{code}

to

{code}
virtual process::Future usage(
  const ContainerID& containerId) = 0;
{code}

> Exposing Resources along with ResourceStatistics from resource monitor
> --
>
> Key: MESOS-2741
> URL: https://issues.apache.org/jira/browse/MESOS-2741
> Project: Mesos
>  Issue Type: Bug
>Reporter: Jie Yu
>  Labels: mesosphere, twitter
>
> Right now, the resource monitor returns a Usage which contains ContainerId, 
> ExecutorInfo and ResourceStatistics. In order for resource estimator/qos 
> controller to calculate usage slack, or tell if a container is using 
> revokable resources or not, we need to expose the Resources that are 
> currently assigned to the container.
> This requires us the change the containerizer interface to get the Resources 
> as well while calling 'usage()'.



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


[jira] [Commented] (MESOS-2741) Exposing Resources along with ResourceStatistics from resource monitor

2015-05-19 Thread haosdent (JIRA)

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

haosdent commented on MESOS-2741:
-

`calculate usage slack` or ` calculate usage stack` 

> Exposing Resources along with ResourceStatistics from resource monitor
> --
>
> Key: MESOS-2741
> URL: https://issues.apache.org/jira/browse/MESOS-2741
> Project: Mesos
>  Issue Type: Bug
>Reporter: Jie Yu
>  Labels: mesosphere, twitter
>
> Right now, the resource monitor returns a Usage which contains ContainerId, 
> ExecutorInfo and ResourceStatistics. In order for resource estimator/qos 
> controller to calculate usage slack, or tell if a container is using 
> revokable resources or not, we need to expose the Resources that are 
> currently assigned to the container.
> This requires us the change the containerizer interface to get the Resources 
> as well while calling 'usage()'.



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