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 "Wei-Chiu Chuang (JIRA)" <ji...@apache.org> on 2016/08/02 06:01:20 UTC
[jira] [Updated] (HADOOP-13353) LdapGroupsMapping getPassward
shouldn't return null when IOException throws
[ https://issues.apache.org/jira/browse/HADOOP-13353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wei-Chiu Chuang updated HADOOP-13353:
-------------------------------------
Attachment: HADOOP-13353.002.patch
Thanks [~liangvls@gmail.com] for the initial patch. I created a v02 patch based on the initial one, adding a regression test, removed redundant code and improved error logging.
> LdapGroupsMapping getPassward shouldn't return null when IOException throws
> ---------------------------------------------------------------------------
>
> Key: HADOOP-13353
> URL: https://issues.apache.org/jira/browse/HADOOP-13353
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Affects Versions: 2.6.0
> Reporter: Zhaohao Liang
> Assignee: Wei-Chiu Chuang
> Labels: supportability
> Attachments: HADOOP-13353.002.patch, HADOOP-13353.patch
>
>
> When IOException throws in getPassword(), getPassword() return null String, this will cause setConf() throws java.lang.NullPointerException when check isEmpty() on null string.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org