lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erick Erickson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-12727) Upgrade ZooKeeper dependency to 3.4.13
Date Thu, 13 Sep 2018 05:19:00 GMT

    [ https://issues.apache.org/jira/browse/SOLR-12727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16613034#comment-16613034
] 

Erick Erickson commented on SOLR-12727:
---------------------------------------

I'm having two failures and have no idea where to start, so flying blind. Any clues?
 * SSLMigrationTest
 * SaslZkACLProvider

Of the two, only SaslZkACLProvider fails reliably, but here's a failing seed just in case:

 -Dtests.seed=64BB8764D5BC1EC3

And the stack trace is below. Pretty clearly auth isn't happening as it should, but I have
no clue why. One thing I can say is that line 516 in SolrZkClient fails with this patch, and
succeeds without it.
{code:java}
Object exists = exists(currentPath, watcher, retryOnConnLoss);{code}
No call is made to
{code:java}
SaslZkACLProvider{code}
methods with the patch, but methods there _are_ called without the patch.  {{SaslZkACLProvider}}
is created in both cases. It's late and things are going fuzzy so I'm giving up for the night.
{code:java}
NOTE: reproduce with: ant test  -Dtestcase=SaslZkACLProviderTest -Dtests.method=testSaslZkACLProvider
-Dtests.seed=64BB8764D5BC1EC3 -Dtests.slow=true -Dtests.badapples=true -Dtests.locale=ca-ES
-Dtests.timezone=US/Mountain -Dtests.asserts=true -Dtests.file.encoding=UTF-8

org.apache.zookeeper.KeeperException$AuthFailedException: KeeperErrorCode = AuthFailed for
/solr

	at __randomizedtesting.SeedInfo.seed([64BB8764D5BC1EC3:604FD1BC4CF8BDCD]:0)
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:126)
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:54)
	at org.apache.zookeeper.ZooKeeper.exists(ZooKeeper.java:1111)
	at org.apache.solr.common.cloud.SolrZkClient.lambda$exists$2(SolrZkClient.java:305)
	at org.apache.solr.common.cloud.ZkCmdExecutor.retryOperation(ZkCmdExecutor.java:60)
	at org.apache.solr.common.cloud.SolrZkClient.exists(SolrZkClient.java:305)
	at org.apache.solr.common.cloud.SolrZkClient.makePath(SolrZkClient.java:516)
	at org.apache.solr.common.cloud.SolrZkClient.makePath(SolrZkClient.java:419)
	at org.apache.solr.cloud.SaslZkACLProviderTest.setUp(SaslZkACLProviderTest.java:82)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1742)
	at com.car
{code}
 

 

 

 

> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message