[ https://issues.apache.org/jira/browse/HADOOP-7887?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13164065#comment-13164065 ]
Alejandro Abdelnur commented on HADOOP-7887: -------------------------------------------- As a side comment, I'm not that happy with this fix. The main issue here is that hadoop-auth does not depend on hadoop-common and because of that UGI cannot be initialized from here. A more correct way of fixing this would be to decouple the setRules() from UGI initialization. Or ... if a namerules has been explicitly set, UGI should not override it. The later approach seems cleaner, thoughts? I could add that to the patch and then the init first UGI caveat would disappear. > KerberosAuthenticatorHandler is not setting KerberosName name rules from > configuration > -------------------------------------------------------------------------------------- > > Key: HADOOP-7887 > URL: https://issues.apache.org/jira/browse/HADOOP-7887 > Project: Hadoop Common > Issue Type: Bug > Components: security > Affects Versions: 0.24.0, 0.23.1 > Reporter: Alejandro Abdelnur > Assignee: Alejandro Abdelnur > Priority: Critical > Fix For: 0.24.0, 0.23.1 > > Attachments: HADOOP-7887.patch > > > While the KerberosAuthenticatorHandler defines the name rules property, it > does not set it in KerberosName. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira