Upon entering the command:
solrctl --zk quickstart:2181/solr collection --create live_logs -s 1
I get the following error:
Error: A call to SolrCloud WEB APIs failed: HTTP/1.1 200 OK
Date: Thu, 07 Jan 2016 17:28:35 GMT
<?xml version="1.0" encoding="UTF-8"?>
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]</str>
I am not sure how to resolve this issue. Any help would be appreciated.
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....
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.
If you were doing this on your own, you would generate the configs by executing the following command:
[cloudera@quickstart ~]$ solrctl --zk quickstart:2181/solr instancedir --generate solr_configs
As mentioned previously, we have already generated the configuration files for you. You can view the modified sample schema here.
The most common area that you would be interested in is the <fields></fields> section. From this area you can define the fields that are present and searchable in your index.
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. :)
I have managed to create the live_logs index now.
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?