<?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: solr zookeper /solr/collections are empty in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/solr-zookeper-solr-collections-are-empty/m-p/64917#M74865</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;A href="http://community.cloudera.com/t5/user/viewprofilepage/user-id/2139" target="_self"&gt;&lt;SPAN class=""&gt;pdvorak&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Thanks for your reply. We have solved this issue by uploading the collections config files back to the zookeeper using update and reload option in solrcloud. After execting those commands we done solr restart. while restarting the solr elects the collection leaders and placed those informations under&amp;nbsp;/solr/collection in zookeeper.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Just for my understand could you please answer for the below queries.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;what do you mean by&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;"zk data dir" . &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Is it creates the snapshot for the config files in zookeeper.&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;As I know zookeeper holds only the config files instead of data. then what "zk data dir" holds?&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 26 Feb 2018 05:38:25 GMT</pubDate>
    <dc:creator>ganeshkumarj</dc:creator>
    <dc:date>2018-02-26T05:38:25Z</dc:date>
    <item>
      <title>solr zookeper /solr/collections are empty</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/solr-zookeper-solr-collections-are-empty/m-p/64855#M74863</link>
      <description>&lt;P&gt;Hi all.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; We have accidently given the command "solrctl init --force" which deletes all existing solr collection entry in zookeeper.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;and in the Solr UI there is a SolrCore Initialization Failures for all the collections.. It showing &lt;STRONG&gt;no cores available error&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Could you please help us to solve it. We need to recover existing collecitons.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;J.Ganesh Kumar.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 12:53:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/solr-zookeper-solr-collections-are-empty/m-p/64855#M74863</guid>
      <dc:creator>ganeshkumarj</dc:creator>
      <dc:date>2022-09-16T12:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: solr zookeper /solr/collections are empty</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/solr-zookeper-solr-collections-are-empty/m-p/64881#M74864</link>
      <description>If you have done an init --force, then the collection config information is unfortunately deleted in ZK (this is a destructive command that will remove everything under /solr znode).&lt;BR /&gt;&lt;BR /&gt;You might be able to look at the zk data dir and see if there are any snapshots and logs prior to the date that you deleted the data. You may be able to copy the data dir to a dev server and remove the current log and snapshot and start up the zk instance to review the data. See here for more information:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://zookeeper.apache.org/doc/r3.1.2/zookeeperAdmin.html#sc_filemanagement" target="_blank"&gt;https://zookeeper.apache.org/doc/r3.1.2/zookeeperAdmin.html#sc_filemanagement&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;More links that may provide useful information:&lt;BR /&gt;&lt;A href="https://groups.google.com/forum/#!topic/marathon-framework/EfhJ9A_6myc" target="_blank"&gt;https://groups.google.com/forum/#!topic/marathon-framework/EfhJ9A_6myc&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://zookeeper-user.578899.n2.nabble.com/How-to-restore-a-snapshot-after-an-accidental-ZKclenup-td7582059.html" target="_blank"&gt;http://zookeeper-user.578899.n2.nabble.com/How-to-restore-a-snapshot-after-an-accidental-ZKclenup-td7582059.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I would suggest not trying to restore a snapshot for the running cluster, as you don't know what changes have been made since the solrctl init --force was executed.&lt;BR /&gt;&lt;BR /&gt;-pd</description>
      <pubDate>Fri, 23 Feb 2018 16:48:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/solr-zookeper-solr-collections-are-empty/m-p/64881#M74864</guid>
      <dc:creator>pdvorak</dc:creator>
      <dc:date>2018-02-23T16:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: solr zookeper /solr/collections are empty</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/solr-zookeper-solr-collections-are-empty/m-p/64917#M74865</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;A href="http://community.cloudera.com/t5/user/viewprofilepage/user-id/2139" target="_self"&gt;&lt;SPAN class=""&gt;pdvorak&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Thanks for your reply. We have solved this issue by uploading the collections config files back to the zookeeper using update and reload option in solrcloud. After execting those commands we done solr restart. while restarting the solr elects the collection leaders and placed those informations under&amp;nbsp;/solr/collection in zookeeper.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Just for my understand could you please answer for the below queries.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;what do you mean by&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;"zk data dir" . &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Is it creates the snapshot for the config files in zookeeper.&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;As I know zookeeper holds only the config files instead of data. then what "zk data dir" holds?&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2018 05:38:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/solr-zookeper-solr-collections-are-empty/m-p/64917#M74865</guid>
      <dc:creator>ganeshkumarj</dc:creator>
      <dc:date>2018-02-26T05:38:25Z</dc:date>
    </item>
  </channel>
</rss>

