lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dennis Gove (JIRA)" <>
Subject [jira] [Commented] (SOLR-8599) Errors in construction of SolrZooKeeper cause Solr to go into an inconsistent state
Date Wed, 10 Feb 2016 18:15:18 GMT


Dennis Gove commented on SOLR-8599:

This fais the forbidden api precommit check.
[forbidden-apis] Forbidden method invocation: java.util.concurrent.Executors#newSingleThreadScheduledExecutor()
[Spawns threads with vague names; use a custom thread factory (Lucene's NamedThreadFactory,
Solr's DefaultSolrThreadFactory) and name threads so that you can tell (by its name) which
executor it is associated with]
[forbidden-apis]   in (

> Errors in construction of SolrZooKeeper cause Solr to go into an inconsistent state
> -----------------------------------------------------------------------------------
>                 Key: SOLR-8599
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud
>            Reporter: Keith Laban
>         Attachments: SOLR-8599.patch
> We originally saw this happen due to a DNS exception (see stack trace below). Although
any exception thrown in the constructor of SolrZooKeeper or the parent class, ZooKeeper, will
cause DefaultConnectionStrategy to fail to update the zookeeper client. Once it gets into
this state, it will not try to connect again until the process is restarted. The node itself
will also respond successfully to query requests, but not to update requests.
> Two things should be address here:
> 1) Fix the error handling and issue some number of retries
> 2) If we are stuck in a state like this stop responding to all requests 
> {code}
> 2016-01-23 13:49:20.222 ERROR ConnectionManager [main-EventThread] -
HOSTNAME: unknown error
> at Method)
> at$2.lookupAllHostAddr(
> at
> at
> at
> at
> at org.apache.zookeeper.client.StaticHostProvider.<init>(
> at org.apache.zookeeper.ZooKeeper.<init>(
> at org.apache.zookeeper.ZooKeeper.<init>(
> at<init>(
> at
> at
> at org.apache.zookeeper.ClientCnxn$EventThread.processEvent(
> at org.apache.zookeeper.ClientCnxn$
> 2016-01-23 13:49:20.222 INFO ConnectionManager [main-EventThread] - Connected:false
> 2016-01-23 13:49:20.222 INFO ClientCnxn [main-EventThread] - EventThread shut down
> {code}

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message