<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Could not load solr.xml from zookeeper: node not found in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Could-not-load-solr-xml-from-zookeeper-node-not-found/m-p/41312#M19494</link>
    <description>&lt;P&gt;It looks like zookeeper didn't get initialized, can you shut down the solr service and run the "Initialize Solr" action from the solr service page?&lt;BR /&gt;&lt;BR /&gt;If that doesn't work, then try the following from the command line:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;solrctl init --force&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;(Note: this is a descructive command which will remove all solr configurations in zk and reinitialize. Do not use if it you have solr configuration you need to keep)&lt;BR /&gt;&lt;BR /&gt;-pd&lt;/P&gt;</description>
    <pubDate>Wed, 25 May 2016 15:12:14 GMT</pubDate>
    <dc:creator>pdvorak</dc:creator>
    <dc:date>2016-05-25T15:12:14Z</dc:date>
    <item>
      <title>Could not load solr.xml from zookeeper: node not found</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Could-not-load-solr-xml-from-zookeeper-node-not-found/m-p/41264#M19493</link>
      <description>&lt;P&gt;Newly installed cluster which began with CDH 5.5 and was recently upgraded to CDH 5.7.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Errors encountered during startup of cluster service are identical for both versions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would greatly appreciate any suggestions on how to proceed. Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ROLE LOG OUTPUT:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;May 24, 3:43:17.052 PM ERROR org.apache.solr.servlet.SolrDispatchFilter Could not start Solr. Check solr/home property and the logs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;May 24, 3:43:17.087 PM ERROR org.apache.solr.core.SolrCore null:org.apache.solr.common.SolrException: Could not load solr.xml from zookeeper at org.apache.solr.servlet.SolrDispatchFilter.loadConfigSolr(SolrDispatchFilter.java:180) at org.apache.solr.servlet.SolrDispatchFilter.createCoreContainer(SolrDispatchFilter.java:196) at org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:145) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:298) at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:119) at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4076) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4730) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:802) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:583) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1080) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1003) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:507) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1322) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:325) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1068) at org.apache.catalina.core.StandardHost.start(StandardHost.java:822) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1060) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) at org.apache.catalina.core.StandardService.start(StandardService.java:525) at org.apache.catalina.core.StandardServer.start(StandardServer.java:759) at org.apache.catalina.startup.Catalina.start(Catalina.java:595) 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 &lt;STRONG&gt;org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Caused by: org.apache.solr.common.SolrException: Could not load solr.xml from zookeeper: node not found at org.apache.solr.servlet.SolrDispatchFilter.loadConfigSolr(SolrDispatchFilter.java:176) ... 28 more&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LAST ENTRIES IN STDERR LOG OUTPUT..&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;+ SOLR_HOME_TMP=/var/lib/solr
+ export SOLR_HOME=/opt/cloudera/parcels/CDH-5.7.0-1.cdh5.7.0.p0.45/lib/solr
+ SOLR_HOME=/opt/cloudera/parcels/CDH-5.7.0-1.cdh5.7.0.p0.45/lib/solr
+ '[' '' = true ']'
+ eval /opt/cloudera/parcels/CDH-5.7.0-1.cdh5.7.0.p0.45/lib/solr/bin/solrctl.sh --zk slrs01va6f1clm1.a6.ad.digital.accenture.com:2181/data/solr cluster --set-property urlScheme http
++ /opt/cloudera/parcels/CDH-5.7.0-1.cdh5.7.0.p0.45/lib/solr/bin/solrctl.sh --zk slrs01va6f1clm1.a6.ad.digital.accenture.com:2181/data/solr cluster --set-property urlScheme http
+ '[' 0 == 0 ']'
+ echo 'Successfully configured urlScheme property for Solr cluster in Zookeeper'
+ export SOLR_HOME=/var/lib/solr
+ SOLR_HOME=/var/lib/solr
+ mkdir -p /var/run/cloudera-scm-agent/process/478-solr-SOLR_SERVER/temp
+ exec /opt/cloudera/parcels/CDH-5.7.0-1.cdh5.7.0.p0.45/lib/solr/bin/solrd run
May 24, 2016 3:43:16 PM 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/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
May 24, 2016 3:43:16 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8983
May 24, 2016 3:43:16 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 487 ms
May 24, 2016 3:43:16 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
May 24, 2016 3:43:16 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.44
May 24, 2016 3:43:16 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory solr
May 24, 2016 3:43:17 PM org.apache.catalina.core.StandardContext start
SEVERE: Error filterStart
May 24, 2016 3:43:17 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/solr] startup failed due to previous errors
May 24, 2016 3:43:17 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/solr] appears to have started a thread named [main-SendThread(slrs01va6f1clm1.a6.ad.digital.accenture.com:2181)] but has failed to stop it. This is very likely to create a memory leak.
May 24, 2016 3:43:17 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/solr] appears to have started a thread named [main-SendThread(slrs01va6f1clm1.a6.ad.digital.accenture.com:2181)] but has failed to stop it. This is very likely to create a memory leak.
May 24, 2016 3:43:17 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
May 24, 2016 3:43:17 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8983
May 24, 2016 3:43:17 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 1160 ms&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:21:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Could-not-load-solr-xml-from-zookeeper-node-not-found/m-p/41264#M19493</guid>
      <dc:creator>Romulus</dc:creator>
      <dc:date>2022-09-16T10:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: Could not load solr.xml from zookeeper: node not found</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Could-not-load-solr-xml-from-zookeeper-node-not-found/m-p/41312#M19494</link>
      <description>&lt;P&gt;It looks like zookeeper didn't get initialized, can you shut down the solr service and run the "Initialize Solr" action from the solr service page?&lt;BR /&gt;&lt;BR /&gt;If that doesn't work, then try the following from the command line:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;solrctl init --force&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;(Note: this is a descructive command which will remove all solr configurations in zk and reinitialize. Do not use if it you have solr configuration you need to keep)&lt;BR /&gt;&lt;BR /&gt;-pd&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2016 15:12:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Could-not-load-solr-xml-from-zookeeper-node-not-found/m-p/41312#M19494</guid>
      <dc:creator>pdvorak</dc:creator>
      <dc:date>2016-05-25T15:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: Could not load solr.xml from zookeeper: node not found</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Could-not-load-solr-xml-from-zookeeper-node-not-found/m-p/41315#M19495</link>
      <description>&lt;P&gt;Hello pdvorak&lt;BR /&gt;Initialize from service page did not work - message = "Skipping because Solr service is already initialized."&lt;BR /&gt;&lt;BR /&gt;I executed "solrctl init --force" as you suggested and service started OK for the first time. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;I am now seeing a different issue in solr log, but service remains up and running. I will file case for following issue, but this issue can be considered resolved. Thanks!&lt;BR /&gt;&lt;BR /&gt;2016-05-25 10:56:31,870 INFO org.apache.solr.servlet.SolrDispatchFilter: [admin] webapp=null path=/admin/cores params={action=STATUS&amp;amp;wt=json} status=0 QTime=0&lt;BR /&gt;2016-05-25 10:57:31,792 INFO org.apache.solr.servlet.SolrDispatchFilter: Could not consume full client request&lt;BR /&gt;java.io.IOException: Stream closed&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2016 16:09:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Could-not-load-solr-xml-from-zookeeper-node-not-found/m-p/41315#M19495</guid>
      <dc:creator>Romulus</dc:creator>
      <dc:date>2016-05-25T16:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: Could not load solr.xml from zookeeper: node not found</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Could-not-load-solr-xml-from-zookeeper-node-not-found/m-p/41316#M19496</link>
      <description>&lt;P&gt;There is a regression that was introduced in CDH5.7.0 that throws that stack trace (at INFO level) for every update, or /admin/cores command.&lt;/P&gt;&lt;P&gt;The workaround is to set the following in the logging safety valve for the solr service:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;log4j.logger.org.apache.solr.servlet.SolrDispatchFilter=WARN&lt;/PRE&gt;&lt;P&gt;This will be resolved in CDH5.7.1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-pd&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2016 16:13:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Could-not-load-solr-xml-from-zookeeper-node-not-found/m-p/41316#M19496</guid>
      <dc:creator>pdvorak</dc:creator>
      <dc:date>2016-05-25T16:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: Could not load solr.xml from zookeeper: node not found</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Could-not-load-solr-xml-from-zookeeper-node-not-found/m-p/67018#M19497</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/2139"&gt;@pdvorak&lt;/a&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Cloudera-Employee"&gt;&lt;A href="http://community.cloudera.com/t5/user/viewprofilepage/user-id/2139" target="_self"&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Cloudera-Employee"&gt;&lt;SPAN class=""&gt;&lt;SPAN class="short_text"&gt;from today, I'm having the same error, but I can't execute the command: solrctl init --force in Prod enviroment, is there any other solution in order to fix this issue?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;(2018-05-07 14:47:14,451 WARN org.apache.zookeeper.ClientCnxn: Session 0x1633aa1e11a0014 for server [server name], &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;unexpected error, closing socket connection and attempting reconnect&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;java.io.IOException: Unreasonable length = 1051274&lt;/FONT&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.jute.BinaryInputArchive.checkLength(BinaryInputArchive.java:127)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.jute.BinaryInputArchive.readBuffer(BinaryInputArchive.java:92)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.zookeeper.proto.GetDataResponse.deserialize(GetDataResponse.java:54)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.zookeeper.ClientCnxn$SendThread.readResponse(ClientCnxn.java:814)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.zookeeper.ClientCnxnSocketNIO.doIO(ClientCnxnSocketNIO.java:94)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:355)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;2018-05-07 14:47:14,451 ERROR org.apache.solr.servlet.SolrDispatchFilter: Could not start Solr. Check solr/home property and the logs&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;2018-05-07 14:47:14,511 ERROR org.apache.solr.core.SolrCore: null:java.lang.NullPointerException)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks in advance for the kind cooperation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 May 2018 13:28:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Could-not-load-solr-xml-from-zookeeper-node-not-found/m-p/67018#M19497</guid>
      <dc:creator>AlexPQ</dc:creator>
      <dc:date>2018-05-07T13:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: Could not load solr.xml from zookeeper: node not found</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Could-not-load-solr-xml-from-zookeeper-node-not-found/m-p/67027#M19498</link>
      <description>This seems to be indicating that the jute.maxbuffer has been exceeded.&lt;BR /&gt;&lt;BR /&gt;You can increase this on the command line side by exporting the following:&lt;BR /&gt;export ZKCLI_JVM_FLAGS=-Djute.maxbuffer=4194304&lt;BR /&gt;&lt;BR /&gt;You may need to confirm on the ZK service configuration, if the jute.maxbuffer size is also 4 MB&lt;BR /&gt;&lt;BR /&gt;-pd</description>
      <pubDate>Mon, 07 May 2018 17:46:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Could-not-load-solr-xml-from-zookeeper-node-not-found/m-p/67027#M19498</guid>
      <dc:creator>pdvorak</dc:creator>
      <dc:date>2018-05-07T17:46:31Z</dc:date>
    </item>
  </channel>
</rss>

