lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yatir <yat...@gmail.com>
Subject Re: changing the root directory where solrCloud stores info inside zookeeper File system
Date Tue, 02 Aug 2011 14:35:55 GMT
Thanks A lot mark,
Since My SolrCloud code was old I tried downloading and building the newest
code from here https://svn.apache.org/repos/asf/lucene/dev/trunk/
I am using tomcat6
I manually created the sc sub-directory in my zooKeeper ensemble file-system
I used this connection String to my ZK ensemble
zook1:2181/sc,zook2:2181/sc,zook3:2181/sc
but I still get the same problem
here is the entire catalina.out log with the exception

Using CATALINA_BASE:   /opt/tomcat6
Using CATALINA_HOME:   /opt/tomcat6
Using CATALINA_TMPDIR: /opt/tomcat6/temp
Using JRE_HOME:        /usr/java/default/
Using CLASSPATH:       /opt/tomcat6/bin/bootstrap.jar
Java HotSpot(TM) 64-Bit Server VM warning: Failed to reserve shared memory
(errno = 12).
Aug 2, 2011 4:28:46 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal
performance in production environments was not found on the
java.library.path:
/usr/java/jdk1.6.0_21/jre/lib/amd64/server:/usr/java/jdk1.6.0_21/jre/lib/amd64:/usr/java/jdk1.6.0_21/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
Aug 2, 2011 4:28:46 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8983 Aug 2, 2011 4:28:46 AM
org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080 Aug 2, 2011 4:28:46 AM
org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 448 ms Aug 2, 2011 4:28:46 AM
org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Aug 2, 2011 4:28:46 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.29 Aug 2, 2011 4:28:46 AM
org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor solr1.xml Aug 2, 2011 4:28:46 AM
org.apache.solr.core.SolrResourceLoader locateSolrHome
INFO: Using JNDI solr.home: /home/tomcat/solrCloud1 Aug 2, 2011 4:28:46 AM
org.apache.solr.core.SolrResourceLoader <init>
INFO: Solr home set to '/home/tomcat/solrCloud1/'
Aug 2, 2011 4:28:46 AM org.apache.solr.servlet.SolrDispatchFilter init
INFO: SolrDispatchFilter.init()
Aug 2, 2011 4:28:46 AM org.apache.solr.core.SolrResourceLoader
locateSolrHome
INFO: Using JNDI solr.home: /home/tomcat/solrCloud1 Aug 2, 2011 4:28:46 AM
org.apache.solr.core.CoreContainer$Initializer initialize
INFO: looking for solr.xml: /home/tomcat/solrCloud1/solr.xml Aug 2, 2011
4:28:46 AM org.apache.solr.core.CoreContainer <init>
INFO: New CoreContainer 853527367
Aug 2, 2011 4:28:46 AM org.apache.solr.core.SolrResourceLoader
locateSolrHome
INFO: Using JNDI solr.home: /home/tomcat/solrCloud1 Aug 2, 2011 4:28:46 AM
org.apache.solr.core.SolrResourceLoader <init>
INFO: Solr home set to '/home/tomcat/solrCloud1/'
Aug 2, 2011 4:28:46 AM org.apache.solr.cloud.SolrZkServerProps getProperties
INFO: Reading configuration from: /home/tomcat/solrCloud1/zoo.cfg Aug 2,
2011 4:28:46 AM org.apache.solr.core.CoreContainer initZooKeeper
INFO: Zookeeper client=zook1:2181/sc,zook2:2181/sc,zook3:2181/sc
Aug 2, 2011 4:28:46 AM org.apache.zookeeper.Environment logEnv
INFO: Client environment:zookeeper.version=3.3.1-942149, built on 05/07/2010
17:14 GMT Aug 2, 2011 4:28:46 AM org.apache.zookeeper.Environment logEnv
INFO: Client environment:host.name=ob1079.nydc1.outbrain.com
Aug 2, 2011 4:28:46 AM org.apache.zookeeper.Environment logEnv
INFO: Client environment:java.version=1.6.0_21 Aug 2, 2011 4:28:46 AM
org.apache.zookeeper.Environment logEnv
INFO: Client environment:java.vendor=Sun Microsystems Inc.
Aug 2, 2011 4:28:46 AM org.apache.zookeeper.Environment logEnv
INFO: Client environment:java.home=/usr/java/jdk1.6.0_21/jre
Aug 2, 2011 4:28:46 AM org.apache.zookeeper.Environment logEnv
INFO: Client environment:java.class.path=/opt/tomcat6/bin/bootstrap.jar
Aug 2, 2011 4:28:46 AM org.apache.zookeeper.Environment logEnv
INFO: Client
environment:java.library.path=/usr/java/jdk1.6.0_21/jre/lib/amd64/server:/usr/java/jdk1.6.0_21/jre/lib/amd64:/usr/java/jdk1.6.0_21/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
Aug 2, 2011 4:28:46 AM org.apache.zookeeper.Environment logEnv
INFO: Client environment:java.io.tmpdir=/opt/tomcat6/temp
Aug 2, 2011 4:28:46 AM org.apache.zookeeper.Environment logEnv
INFO: Client environment:java.compiler=<NA> Aug 2, 2011 4:28:46 AM
org.apache.zookeeper.Environment logEnv
INFO: Client environment:os.name=Linux
Aug 2, 2011 4:28:46 AM org.apache.zookeeper.Environment logEnv
INFO: Client environment:os.arch=amd64
Aug 2, 2011 4:28:46 AM org.apache.zookeeper.Environment logEnv
INFO: Client environment:os.version=2.6.18-194.8.1.el5
Aug 2, 2011 4:28:46 AM org.apache.zookeeper.Environment logEnv
INFO: Client environment:user.name=tomcat Aug 2, 2011 4:28:46 AM
org.apache.zookeeper.Environment logEnv
INFO: Client environment:user.home=/home/tomcat
Aug 2, 2011 4:28:46 AM org.apache.zookeeper.Environment logEnv
INFO: Client environment:user.dir=/opt/tomcat6 Aug 2, 2011 4:28:46 AM
org.apache.zookeeper.ZooKeeper <init>
INFO: Initiating client connection,
connectString=zook1:2181/sc,zook2:2181/sc,zook3:2181/sc sessionTimeout=10000
watcher=org.apache.solr.common.cloud.ConnectionManager@70db3331
Aug 2, 2011 4:28:46 AM org.apache.zookeeper.ClientCnxn$SendThread
startConnect
INFO: Opening socket connection to server zook1/192.168.252.64:2181 Aug 2,
2011 4:28:46 AM org.apache.zookeeper.ClientCnxn$SendThread primeConnection
INFO: Socket connection established to zook1/192.168.252.64:2181, initiating
session Aug 2, 2011 4:28:46 AM org.apache.zookeeper.ClientCnxn$SendThread
readConnectResult
INFO: Session establishment complete on server zook1/192.168.252.64:2181,
sessionid = 0x1311a8c220f071e, negotiated timeout = 10000 Aug 2, 2011
4:28:46 AM org.apache.solr.common.cloud.ConnectionManager process
INFO: Watcher org.apache.solr.common.cloud.ConnectionManager@70db3331
name:ZooKeeperConnection Watcher:zook1:2181/sc,zook2:2181/sc,zook3:2181/sc
got event WatchedEvent state:SyncConnected type:None path:null path:null
type:None Aug 2, 2011 4:28:46 AM org.apache.solr.common.cloud.SolrZkClient
makePath
INFO: makePath: /live_nodes
Aug 2, 2011 4:28:46 AM org.apache.solr.cloud.ZkController init
SEVERE:
org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode =
NoNode for /live_nodes
        at
org.apache.zookeeper.KeeperException.create(KeeperException.java:102)
        at
org.apache.zookeeper.KeeperException.create(KeeperException.java:42)
        at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:637)
        at
org.apache.solr.common.cloud.SolrZkClient.makePath(SolrZkClient.java:347)
        at
org.apache.solr.common.cloud.SolrZkClient.makePath(SolrZkClient.java:308)
        at
org.apache.solr.common.cloud.SolrZkClient.makePath(SolrZkClient.java:290)
        at
org.apache.solr.common.cloud.SolrZkClient.makePath(SolrZkClient.java:255)
        at org.apache.solr.cloud.ZkController.init(ZkController.java:275)
        at org.apache.solr.cloud.ZkController.<init>(ZkController.java:133)
        at
org.apache.solr.core.CoreContainer.initZooKeeper(CoreContainer.java:166)
        at org.apache.solr.core.CoreContainer.load(CoreContainer.java:335)
        at org.apache.solr.core.CoreContainer.load(CoreContainer.java:292)
        at
org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:241)
        at
org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:93)
        at
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:295)
        at
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:422)
        at
org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:115)
        at
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4001)
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4651)
        at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
        at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
        at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)
        at
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:637)
        at
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563)
        at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498)
        at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
        at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
        at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
        at
org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
        at
org.apache.catalina.core.StandardService.start(StandardService.java:519)
        at
org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Aug 2, 2011 4:28:46 AM org.apache.solr.servlet.SolrDispatchFilter init
SEVERE: Could not start Solr. Check solr/home property
org.apache.solr.common.cloud.ZooKeeperException:
        at org.apache.solr.cloud.ZkController.init(ZkController.java:280)
        at org.apache.solr.cloud.ZkController.<init>(ZkController.java:133)
        at
org.apache.solr.core.CoreContainer.initZooKeeper(CoreContainer.java:166)
        at org.apache.solr.core.CoreContainer.load(CoreContainer.java:335)
        at org.apache.solr.core.CoreContainer.load(CoreContainer.java:292)
        at
org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:241)
        at
org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:93)
        at
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:295)
        at
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:422)
        at
org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:115)
        at
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4001)
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4651)
        at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
        at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)


--
View this message in context: http://lucene.472066.n3.nabble.com/changing-the-root-directory-where-solrCloud-stores-info-inside-zookeeper-File-system-tp3199809p3219133.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message