[ https://issues.apache.org/jira/browse/HADOOP-13353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15399455#comment-15399455 ]
Wei-Chiu Chuang commented on HADOOP-13353: ------------------------------------------ The fix looks good to me. Thanks [~liang...@gmail.com] for the contribution. Would you also like to add a regression test? > 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: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org