[
https://issues.apache.org/jira/browse/SOLR-12727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16613423#comment-16613423
]
Kevin Risden commented on SOLR-12727:
-------------------------------------
[~erickerickson] - Do you see either of the following messages in the output
for SaslZkACLProviderTest?
{code:java}
java.security.AccessControlException: access denied
("javax.security.auth.kerberos.ServicePermission"
"zookeeper/[email protected]" "initiate")
{code}
{code:java}
No server entry found for kerberos principal name
zookeeper/[email protected] [junit4] 2> 24313 WARN (NioProcessor-3) [
] o.a.d.s.KERBEROS_LOG No server entry found for kerberos principal name
zookeeper/[email protected]
{code}
It looks like 127.0.0.1 is being replaced with localhost causing the Kerberos
ticket to not match correctly. I checked the same seed on master and didn't see
this problem. I applied the patch to upgrade to 3.4.13 and see this failure.
Not sure if we should "fix" this the way I did but here is how I got the test
to pass:
1) Add the following to
{code:java}
permission javax.security.auth.kerberos.ServicePermission
"zookeeper/[email protected]", "initiate";
permission javax.security.auth.kerberos.ServicePermission
"zookeeper/[email protected]", "accept";
{code}
2) In SaslZkACLProviderTest change zookeeper/127.0.0.1 to zookeeper/localhost
> Upgrade ZooKeeper dependency to 3.4.13
> --------------------------------------
>
> Key: SOLR-12727
> URL: https://issues.apache.org/jira/browse/SOLR-12727
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Components: SolrCloud
> Affects Versions: 7.4
> Reporter: Shawn Heisey
> Assignee: Erick Erickson
> Priority: Major
> Attachments: SOLR-12727.patch
>
>
> Upgrade ZK dependency to 3.4.13. This fixes ZOOKEEPER-2184 which will make
> the ZK client re-resolve the server hostnames when a connection fails. This
> will fix issues where a failed ZK container is replaced with a new one that
> has a different IP address and DNS gets updated with the new address.
> Typically these upgrades do not require code changes, but that should be
> verified.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]