hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Naganarasimha G R (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-3401) [Security] users should not be able to create a generic TimelineEntity and associate arbitrary type
Date Sun, 01 May 2016 01:27:13 GMT

    [ https://issues.apache.org/jira/browse/YARN-3401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15265568#comment-15265568

Naganarasimha G R commented on YARN-3401:

We need to review back again the approaches taken in MAPREDUCE-6424 and MAPREDUCE-6688, Some
approaches which i can think of are :
# expose REST API's to push configs and metrics separately for the app 
# During *registration* of AM, AM can push some configurations to RM and RM can update ApplicationEntity
with the configurations and during AM *unregister* with RM, AM can send the metrics at the
job/app level.

> [Security] users should not be able to create a generic TimelineEntity and associate
arbitrary type
> ---------------------------------------------------------------------------------------------------
>                 Key: YARN-3401
>                 URL: https://issues.apache.org/jira/browse/YARN-3401
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: timelineserver
>            Reporter: Sangjin Lee
>            Assignee: Naganarasimha G R
> IIUC it is possible for users to create a generic TimelineEntity and set an arbitrary
entity type. For example, for a YARN app, the right entity API is ApplicationEntity. However,
today nothing stops users from instantiating a base TimelineEntity class and set the application
type on it. This presents a problem in handling these YARN system entities in the storage
layer for example.
> We need to ensure that the API allows only the right type of the class to be created
for a given entity type.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org

View raw message