<?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: Error encountered on Tutorial Exercise #5 - Step 4 (Creating your collection) in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-encountered-on-Tutorial-Exercise-5-Step-4-Creating/m-p/35966#M14429</link>
    <description>&lt;P&gt;Have answered my own question (below) now. My version of Hue is slightly different to the version used in the screenshots for the Tutorial exercises. I have a 'Show cores' checkbox on my version that is not shown on the Tutorial screenshot. When I check this the shard-replica entries appear.&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have managed to create the live_logs index now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I ran all of the step again, and the command that was originally failing has now completed without error. However, I do not see a shard_replica entry as shown in the tutorial. Is this normal at this stage, or am I still missing something in my setup?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks..!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dave.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 07 Jan 2016 21:24:02 GMT</pubDate>
    <dc:creator>davenay67</dc:creator>
    <dc:date>2016-01-07T21:24:02Z</dc:date>
    <item>
      <title>Error encountered on Tutorial Exercise #5 - Step 4 (Creating your collection)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-encountered-on-Tutorial-Exercise-5-Step-4-Creating/m-p/35945#M14426</link>
      <description>&lt;P&gt;Upon entering the command:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;solrctl --zk quickstart:2181/solr collection --create live_logs -s 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error: A call to SolrCloud WEB APIs failed: HTTP/1.1 200 OK&lt;BR /&gt;Server: Apache-Coyote/1.1&lt;BR /&gt;Content-Type: application/xml;charset=UTF-8&lt;BR /&gt;Transfer-Encoding: chunked&lt;BR /&gt;Date: Thu, 07 Jan 2016 17:28:35 GMT&lt;BR /&gt;&lt;BR /&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;response&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;lst name="responseHeader"&amp;gt;&lt;BR /&gt;&amp;lt;int name="status"&amp;gt;&lt;BR /&gt;0&amp;lt;/int&amp;gt;&lt;BR /&gt;&amp;lt;int name="QTime"&amp;gt;&lt;BR /&gt;16150&amp;lt;/int&amp;gt;&lt;BR /&gt;&amp;lt;/lst&amp;gt;&lt;BR /&gt;&amp;lt;lst name="failure"&amp;gt;&lt;BR /&gt;&amp;lt;str&amp;gt;&lt;BR /&gt;org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException:Error CREATEing SolrCore 'live_logs_shard1_replica1': Unable to create core [live_logs_shard1_replica1] Caused by: Could not find configName for collection live_logs found:[yelp_demo, twitter_demo, log_analytics_demo]&amp;lt;/str&amp;gt;&lt;BR /&gt;&amp;lt;/lst&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not sure how to resolve this issue. Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks..!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:56:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-encountered-on-Tutorial-Exercise-5-Step-4-Creating/m-p/35945#M14426</guid>
      <dc:creator>davenay67</dc:creator>
      <dc:date>2022-09-16T09:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: Error encountered on Tutorial Exercise #5 - Step 4 (Creating your collection)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-encountered-on-Tutorial-Exercise-5-Step-4-Creating/m-p/35961#M14427</link>
      <description>That command depends on the previous 2:&lt;BR /&gt;&lt;BR /&gt;cd /opt/examples/flume&lt;BR /&gt;solrctl --zk quickstart:2181/solr instancedir --create live_logs&lt;BR /&gt;./solr_configs&lt;BR /&gt;&lt;BR /&gt;Did you execute those? And if so, were there any error messages?&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Jan 2016 19:40:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-encountered-on-Tutorial-Exercise-5-Step-4-Creating/m-p/35961#M14427</guid>
      <dc:creator>Sean</dc:creator>
      <dc:date>2016-01-07T19:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: Error encountered on Tutorial Exercise #5 - Step 4 (Creating your collection)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-encountered-on-Tutorial-Exercise-5-Step-4-Creating/m-p/35965#M14428</link>
      <description>&lt;P&gt;Sean,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did not execute the previous 2 statements because the tutorial said not to (see copied text below). I will execute the other steps and try again....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks..!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dave.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Creating an empty configuration&lt;P&gt;For the sake of this tutorial, you won't need to actually execute steps 1 or 2, as we have included the configuration and the schema file in your cluster already. They can be reviewed by exploring /opt/examples/flume/solr_configs.&lt;/P&gt;&lt;P&gt;If you were doing this on your own, you would generate the configs by executing the following command:&lt;/P&gt;&lt;PRE&gt;[cloudera@quickstart ~]$ solrctl --zk quickstart:2181/solr instancedir --generate solr_configs&lt;/PRE&gt;&lt;DIV class="alert alert-danger"&gt;You don't need to do this for this tutorial. We have already generated the configuration for you. This instruction is here in case you want to create your own index.&lt;/DIV&gt;The result of this command would be a skeleton configuration that you could then customize to your liking. The primary thing that you would ordinarily be customizing is the conf/schema.xml, which we cover in the next step.&lt;/LI&gt;&lt;LI&gt;Edit your schema&lt;P&gt;As mentioned previously, we have already generated the configuration files for you. You can &lt;A href="http://quickstart.cloudera/media/schema.xml.txt" target="_BLANK"&gt;view the modified sample schema here&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;The most common area that you would be interested in is the &amp;lt;fields&amp;gt;&amp;lt;/fields&amp;gt; section. From this area you can define the fields that are present and searchable in your index.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2016 20:54:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-encountered-on-Tutorial-Exercise-5-Step-4-Creating/m-p/35965#M14428</guid>
      <dc:creator>davenay67</dc:creator>
      <dc:date>2016-01-07T20:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: Error encountered on Tutorial Exercise #5 - Step 4 (Creating your collection)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-encountered-on-Tutorial-Exercise-5-Step-4-Creating/m-p/35966#M14429</link>
      <description>&lt;P&gt;Have answered my own question (below) now. My version of Hue is slightly different to the version used in the screenshots for the Tutorial exercises. I have a 'Show cores' checkbox on my version that is not shown on the Tutorial screenshot. When I check this the shard-replica entries appear.&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have managed to create the live_logs index now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I ran all of the step again, and the command that was originally failing has now completed without error. However, I do not see a shard_replica entry as shown in the tutorial. Is this normal at this stage, or am I still missing something in my setup?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks..!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dave.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2016 21:24:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-encountered-on-Tutorial-Exercise-5-Step-4-Creating/m-p/35966#M14429</guid>
      <dc:creator>davenay67</dc:creator>
      <dc:date>2016-01-07T21:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: Error encountered on Tutorial Exercise #5 - Step 4 (Creating your collection)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-encountered-on-Tutorial-Exercise-5-Step-4-Creating/m-p/35969#M14430</link>
      <description>I'd need to take a look at a cluster and won't get a chance to for a little&lt;BR /&gt;while, but that may not be a problem. Si I would just proceed as-is.&lt;BR /&gt;Displaying shard replicas in the interface might no longer happen - I&lt;BR /&gt;personally found it cluttered the interface for something I never used, so&lt;BR /&gt;I wouldn't be surprised if that was removed recently and the screenshot in&lt;BR /&gt;the tutorial simply needs to be updated.&lt;BR /&gt;&lt;BR /&gt;Also, I believe it's "step 1" that is not necessary since it's already done&lt;BR /&gt;when installing the sample datasets (the command in #1 creates a blank&lt;BR /&gt;configuration, we're providing the already-edited configuration). I think&lt;BR /&gt;it's step #2 that you were missing, where that configuration gets uploaded&lt;BR /&gt;to Zookeeper.&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Jan 2016 22:04:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-encountered-on-Tutorial-Exercise-5-Step-4-Creating/m-p/35969#M14430</guid>
      <dc:creator>Sean</dc:creator>
      <dc:date>2016-01-07T22:04:58Z</dc:date>
    </item>
  </channel>
</rss>

