lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Varun Thacker (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-5918) ant clean does not remove ZooKeeper data
Date Wed, 26 Mar 2014 19:43:20 GMT

     [ https://issues.apache.org/jira/browse/SOLR-5918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Varun Thacker updated SOLR-5918:
--------------------------------

    Attachment: SOLR-5918.patch

Simple patch but maybe I am missing something here -

'ant clean' now removes the zoo_data directory, but when I build again using 'ant example'
and start up SolrCloud I get the following errors

{noformat}
java -DzkRun -DnumShards=1 -Dbootstrap_confdir=./solr/collection1/conf -Dcollection.configName=myconf
-jar start.jar
{noformat}


{noformat}
758 [coreLoadExecutor-4-thread-1] ERROR org.apache.solr.core.CoreContainer  – Unable to
create core: collection1
org.apache.solr.common.SolrException: Error initializing QueryElevationComponent.
	at org.apache.solr.core.SolrCore.<init>(SolrCore.java:857)
	at org.apache.solr.core.SolrCore.<init>(SolrCore.java:640)
	at org.apache.solr.core.CoreContainer.create(CoreContainer.java:556)
	at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:261)
	at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:253)
	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:744)
Caused by: org.apache.solr.common.SolrException: Error initializing QueryElevationComponent.
	at org.apache.solr.handler.component.QueryElevationComponent.inform(QueryElevationComponent.java:242)
	at org.apache.solr.core.SolrResourceLoader.inform(SolrResourceLoader.java:649)
	at org.apache.solr.core.SolrCore.<init>(SolrCore.java:848)
	... 10 more
Caused by: org.apache.solr.common.SolrException: Error loading config name for collection
collection1
	at org.apache.solr.common.cloud.ZkStateReader.readConfigName(ZkStateReader.java:167)
	at org.apache.solr.handler.component.QueryElevationComponent.inform(QueryElevationComponent.java:212)
	... 12 more
Caused by: org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode
for /collections/collection1
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:111)
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
	at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:1155)
	at org.apache.solr.common.cloud.SolrZkClient$7.execute(SolrZkClient.java:276)
	at org.apache.solr.common.cloud.SolrZkClient$7.execute(SolrZkClient.java:273)
	at org.apache.solr.common.cloud.ZkCmdExecutor.retryOperation(ZkCmdExecutor.java:73)
	at org.apache.solr.common.cloud.SolrZkClient.getData(SolrZkClient.java:273)
	at org.apache.solr.common.cloud.ZkStateReader.readConfigName(ZkStateReader.java:147)
	... 13 more
6760 [coreLoadExecutor-4-thread-1] ERROR org.apache.solr.core.CoreContainer  – null:org.apache.solr.common.SolrException:
Unable to create core: collection1
	at org.apache.solr.core.CoreContainer.recordAndThrow(CoreContainer.java:911)
	at org.apache.solr.core.CoreContainer.create(CoreContainer.java:568)
	at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:261)
	at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:253)
	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:744)
Caused by: org.apache.solr.common.SolrException: Error initializing QueryElevationComponent.
	at org.apache.solr.core.SolrCore.<init>(SolrCore.java:857)
	at org.apache.solr.core.SolrCore.<init>(SolrCore.java:640)
	at org.apache.solr.core.CoreContainer.create(CoreContainer.java:556)
	... 8 more
Caused by: org.apache.solr.common.SolrException: Error initializing QueryElevationComponent.
	at org.apache.solr.handler.component.QueryElevationComponent.inform(QueryElevationComponent.java:242)
	at org.apache.solr.core.SolrResourceLoader.inform(SolrResourceLoader.java:649)
	at org.apache.solr.core.SolrCore.<init>(SolrCore.java:848)
	... 10 more
Caused by: org.apache.solr.common.SolrException: Error loading config name for collection
collection1
	at org.apache.solr.common.cloud.ZkStateReader.readConfigName(ZkStateReader.java:167)
	at org.apache.solr.handler.component.QueryElevationComponent.inform(QueryElevationComponent.java:212)
	... 12 more
Caused by: org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode
for /collections/collection1
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:111)
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
	at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:1155)
	at org.apache.solr.common.cloud.SolrZkClient$7.execute(SolrZkClient.java:276)
	at org.apache.solr.common.cloud.SolrZkClient$7.execute(SolrZkClient.java:273)
	at org.apache.solr.common.cloud.ZkCmdExecutor.retryOperation(ZkCmdExecutor.java:73)
	at org.apache.solr.common.cloud.SolrZkClient.getData(SolrZkClient.java:273)
	at org.apache.solr.common.cloud.ZkStateReader.readConfigName(ZkStateReader.java:147)
	... 13 more

{noformat}

{noformat}

> ant clean does not remove ZooKeeper data
> ----------------------------------------
>
>                 Key: SOLR-5918
>                 URL: https://issues.apache.org/jira/browse/SOLR-5918
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Varun Thacker
>            Priority: Minor
>         Attachments: SOLR-5918.patch
>
>
> From the solr/ directory when I run 'ant clean' it cleans up all the necessary compiled
files etc.
> This also removes the indexes rightly so, but fails to delete the ZooKeeper data.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message