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

Kapil Arya commented on MESOS-2259:
-----------------------------------

Labels provide a way for a framework or hooks to embed extra information 
(relevant to a given task) in the TaskInfo message. This information may be 
used by the slave, executor, and/or by the slave hooks (e.g., 
environment-decorator hook).

In some situations, a hook module might use master hooks (e.g., 
label-decorator) add hook-specific labels to the TaskInfo message.  If the 
additional data is sensitive, the module might wish to not expose it to 
"external" agents such as the web-ui ("internal" agents such as executor are 
ok).

thus, while labels provide a way for the framework writer or the hook writer to 
"expose" (or "add", if one prefers) additional information via the TaskInfo 
message, at the same time a `hidden` field will allow this additional 
information to be visible only to the relevant parties.

> Mark some Task labels as "hidden"
> ---------------------------------
>
>                 Key: MESOS-2259
>                 URL: https://issues.apache.org/jira/browse/MESOS-2259
>             Project: Mesos
>          Issue Type: Bug
>            Reporter: Kapil Arya
>              Labels: mesosphere
>
> Task labels are used by label-decorator hooks to insert hook-specific labels. 
>  Some hook implementation might not want to expose their label for security 
> reasons.
> We should allow certain labels to be marked as "hidden", such that they are 
> invisible from the "web ui" to start with.



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

Reply via email to