You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Kan Zhang (JIRA)" <ji...@apache.org> on 2011/03/08 01:08:59 UTC

[jira] Commented: (HADOOP-6912) Guard against NPE when calling UGI.isLoginKeytabBased()

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

Kan Zhang commented on HADOOP-6912:
-----------------------------------

This patch is simple enough that eyeballing should provide confidence. However, one should check again whether the HDFS or MR builds break since the signature of a public method is changing.

> Guard against NPE when calling UGI.isLoginKeytabBased()
> -------------------------------------------------------
>
>                 Key: HADOOP-6912
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6912
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: security
>            Reporter: Kan Zhang
>            Assignee: Kan Zhang
>         Attachments: c6912-01.patch
>
>
> NPE can happen when isLoginKeytabBased() is called before a login is performed. See MAPREDUCE-1992 for an example.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira