[
https://issues.apache.org/jira/browse/HADOOP-13353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15399461#comment-15399461
]
Wei-Chiu Chuang commented on HADOOP-13353:
------------------------------------------
I see that when the IOException is thrown, the log message does not preserve
its stacktrace. Could you also update the fix to include the stacktrace?
Basically, change it to:
{code}
catch (IOException ioe) {
LOG.warn("Exception while trying to password for alias " + alias + ": ",
ioe);
}
{code}
> 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
> Attachments: 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: [email protected]
For additional commands, e-mail: [email protected]