hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yongjun Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-5048) DelegationTokenRenewer#skipTokenRenewal may throw NPE
Date Fri, 06 May 2016 00:04:12 GMT

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

Yongjun Zhang commented on YARN-5048:

HI [~jianhe],

Thanks for catching the issue and the patch!

The patch looks good to me. Some questions,
1. what circumstance that RM does not have the token kind class?
2. This method is to check whether we need to skip renewing a token, if RM does not have the
corresponding token kind class, does it mean we should not skip renewing thus RM need to renew?

3. If RM need to renew, does it mean RM need to have the token kind class?


> DelegationTokenRenewer#skipTokenRenewal may throw NPE 
> ------------------------------------------------------
>                 Key: YARN-5048
>                 URL: https://issues.apache.org/jira/browse/YARN-5048
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Jian He
>            Assignee: Jian He
>         Attachments: YARN-5048.1.patch
> {{((Token<AbstractDelegationTokenIdentifier>)token).decodeIdentifier()}} may throw
NPE if RM does not have the corresponding toke kind class.

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