hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boris Shkolnik (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-6620) NPE if renewer is passed as null in getDelegationToken
Date Tue, 09 Mar 2010 19:32:27 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-6620?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Boris Shkolnik updated HADOOP-6620:

    Hadoop Flags: [Reviewed]

Nitpick.. I would use (renewer!=null)?renewer:new Text(); in this case..

> NPE if renewer is passed as null in getDelegationToken
> ------------------------------------------------------
>                 Key: HADOOP-6620
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6620
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Jitendra Nath Pandey
>            Assignee: Jitendra Nath Pandey
>         Attachments: HADOOP-6620-y20.1.patch, HADOOP-6620.2.patch
> If renewer is passed as null in getDelegationToken, an NPE is thrown. We should handle
null renewer and the token must not be allowed to be renewed if the renewer is null or empty

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message