lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From persoy <per...@gmail.com>
Subject I cannot create replica in Solr
Date Wed, 06 Jan 2016 21:33:54 GMT
Hi
I'm using Solr clouds. I created one solr and zookeeper instances. Then I
want to create replica for Solr.
I'm using Windows 7 
 But the following errors are throwing :

This is warning message:
OverseerCollectionProcessor.processMessage : create , {
  "name":"contracts",
  "fromApi":"true",
  "replicationFactor":"1",
  "collection.configName":"contracts",
  "numShards":"1",
  "stateFormat":"2",
  "operation":"create"}
After this warning these error messages are throwing
Can someone help me?
Thanks
This is Error messages:
org.apache.solr.common.SolrException: Could not load conf for core
contracts_shard1_replica1: Error loading solr config from solrconfig.xml
	at
org.apache.solr.core.ConfigSetService.getConfig(ConfigSetService.java:78)
	at org.apache.solr.core.CoreContainer.create(CoreContainer.java:635)
	at org.apache.solr.core.CoreContainer.create(CoreContainer.java:611)
	at
org.apache.solr.handler.admin.CoreAdminHandler.handleCreateAction(CoreAdminHandler.java:628)
	at
org.apache.solr.handler.admin.CoreAdminHandler.handleRequestInternal(CoreAdminHandler.java:213)
	at
org.apache.solr.handler.admin.CoreAdminHandler.handleRequestBody(CoreAdminHandler.java:193)
	at
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:143)
	at
org.apache.solr.servlet.HttpSolrCall.handleAdminRequest(HttpSolrCall.java:660)
	at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:431)
	at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:227)
	at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:196)
	at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
	at
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
	at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
	at
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
	at
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
	at
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
	at
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
	at
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
	at
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
	at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
	at
org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
	at
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)
	at
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
	at org.eclipse.jetty.server.Server.handle(Server.java:497)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)
	at
org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
	at
org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
	at
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
	at
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
	at java.lang.Thread.run(Thread.java:785)
Caused by: org.apache.solr.common.SolrException: Error loading solr config
from solrconfig.xml
	at
org.apache.solr.core.SolrConfig.readFromResourceLoader(SolrConfig.java:187)
	at
org.apache.solr.core.ConfigSetService.createSolrConfig(ConfigSetService.java:92)
	at
org.apache.solr.core.ConfigSetService.getConfig(ConfigSetService.java:73)
	... 30 more
Caused by: java.io.IOException: Can't find resource 'solrconfig.xml' in
classpath or '/configs/contracts',
cwd=C:\CM_10.1.1\INDEXSERVER\searchserver-distribution\target\searchserver\solr\server
	at
org.apache.solr.cloud.ZkSolrResourceLoader.openResource(ZkSolrResourceLoader.java:96)
	at
org.apache.solr.core.SolrResourceLoader.openConfig(SolrResourceLoader.java:309)
	at org.apache.solr.core.Config.<init>(Config.java:122)
	at org.apache.solr.core.Config.<init>(Config.java:92)
	at org.apache.solr.core.SolrConfig.<init>(SolrConfig.java:202)
	at
org.apache.solr.core.SolrConfig.readFromResourceLoader(SolrConfig.java:179)
	... 32 more

org.apache.solr.common.SolrException: Error CREATEing SolrCore
'contracts_shard1_replica1': Unable to create core
[contracts_shard1_replica1] Caused by: Can't find resource 'solrconfig.xml'
in classpath or '/configs/contracts',
cwd=C:\CM_10.1.1\INDEXSERVER\searchserver-distribution\target\searchserver\solr\server
	at
org.apache.solr.handler.admin.CoreAdminHandler.handleCreateAction(CoreAdminHandler.java:661)
	at
org.apache.solr.handler.admin.CoreAdminHandler.handleRequestInternal(CoreAdminHandler.java:213)
	at
org.apache.solr.handler.admin.CoreAdminHandler.handleRequestBody(CoreAdminHandler.java:193)
	at
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:143)
	at
org.apache.solr.servlet.HttpSolrCall.handleAdminRequest(HttpSolrCall.java:660)
	at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:431)
	at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:227)
	at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:196)
	at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
	at
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
	at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
	at
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
	at
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
	at
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
	at
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
	at
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
	at
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
	at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
	at
org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
	at
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)
	at
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
	at org.eclipse.jetty.server.Server.handle(Server.java:497)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)
	at
org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
	at
org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
	at
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
	at
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
	at java.lang.Thread.run(Thread.java:785)
Caused by: org.apache.solr.common.SolrException: Unable to create core
[contracts_shard1_replica1]
	at org.apache.solr.core.CoreContainer.create(CoreContainer.java:651)
	at org.apache.solr.core.CoreContainer.create(CoreContainer.java:611)
	at
org.apache.solr.handler.admin.CoreAdminHandler.handleCreateAction(CoreAdminHandler.java:628)
	... 27 more
Caused by: org.apache.solr.common.SolrException: Could not load conf for
core contracts_shard1_replica1: Error loading solr config from
solrconfig.xml
	at
org.apache.solr.core.ConfigSetService.getConfig(ConfigSetService.java:78)
	at org.apache.solr.core.CoreContainer.create(CoreContainer.java:635)
	... 29 more
Caused by: org.apache.solr.common.SolrException: Error loading solr config
from solrconfig.xml
	at
org.apache.solr.core.SolrConfig.readFromResourceLoader(SolrConfig.java:187)
	at
org.apache.solr.core.ConfigSetService.createSolrConfig(ConfigSetService.java:92)
	at
org.apache.solr.core.ConfigSetService.getConfig(ConfigSetService.java:73)
	... 30 more
Caused by: java.io.IOException: Can't find resource 'solrconfig.xml' in
classpath or '/configs/contracts',
cwd=C:\CM_10.1.1\INDEXSERVER\searchserver-distribution\target\searchserver\solr\server
	at
org.apache.solr.cloud.ZkSolrResourceLoader.openResource(ZkSolrResourceLoader.java:96)
	at
org.apache.solr.core.SolrResourceLoader.openConfig(SolrResourceLoader.java:309)
	at org.apache.solr.core.Config.<init>(Config.java:122)
	at org.apache.solr.core.Config.<init>(Config.java:92)
	at org.apache.solr.core.SolrConfig.<init>(SolrConfig.java:202)
	at
org.apache.solr.core.SolrConfig.readFromResourceLoader(SolrConfig.java:179)
	... 32 more



--
View this message in context: http://lucene.472066.n3.nabble.com/I-cannot-create-replica-in-Solr-tp4248998.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message