hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Gresch (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-6130) [ATSv2 Security] Generate a delegation token for AM when app collector is created and pass it to AM via NM and RM
Date Thu, 17 Aug 2017 16:23:02 GMT

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

Aaron Gresch commented on YARN-6130:
------------------------------------

With security off, no collector token is created:

https://github.com/apache/hadoop/blob/YARN-5355/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice/src/main/java/org/apache/hadoop/yarn/server/timelineservice/collector/NodeTimelineCollectorManager.java#L205-L206

This code later causes an NPE, not handling a missing token:

https://github.com/apache/hadoop/blob/YARN-5355/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common/src/main/java/org/apache/hadoop/yarn/server/api/protocolrecords/impl/pb/NodeHeartbeatRequestPBImpl.java#L174




> [ATSv2 Security] Generate a delegation token for AM when app collector is created and
pass it to AM via NM and RM
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: YARN-6130
>                 URL: https://issues.apache.org/jira/browse/YARN-6130
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: timelineserver
>            Reporter: Varun Saxena
>            Assignee: Varun Saxena
>              Labels: yarn-5355-merge-blocker
>             Fix For: YARN-5355, YARN-5355-branch-2
>
>         Attachments: YARN-6130-YARN-5355.01.patch, YARN-6130-YARN-5355.02.patch, YARN-6130-YARN-5355.03.patch,
YARN-6130-YARN-5355.04.patch, YARN-6130-YARN-5355.05.patch, YARN-6130-YARN-5355.06.patch,
YARN-6130-YARN-5355_branch2.01.patch, YARN-6130-YARN-5355_branch2.02.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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


Mime
View raw message