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

Zhitao Li commented on MESOS-5030:
----------------------------------

[~bmahler], my current plan for this task:
1. Add a `repeated TaskInfo task_infos` field to `ResourceUsage.Executor` 
protobuf message;
2. In implementation, task_infos will be a copy of all tasks associated with 
the same executor, with the following fields purged:
- data;
- executor_info (because it's already included once in the the enclosing 
protobuf).
3. In test, verify that ResourceUsage.Executor includes non-empty task_infos 
for a ResourceEstimator and QosController.

Please let me know whether the above plan sounds good.

> Expose TaskInfo's metadata to ResourceUsage struct
> --------------------------------------------------
>
>                 Key: MESOS-5030
>                 URL: https://issues.apache.org/jira/browse/MESOS-5030
>             Project: Mesos
>          Issue Type: Improvement
>          Components: oversubscription
>            Reporter: Zhitao Li
>            Assignee: Zhitao Li
>              Labels: qos
>
> So QosController could use metadata information from TaskInfo.
> Based on conversations from Mesos work group, we would at least include:
> - task id;
> - name;
> - labels;
> ( I think resources, kill_policy should probably also included).
> Alternative would be just purge fields like `data`.



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

Reply via email to