Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created on
03-15-2020
06:23 AM
- last edited on
03-15-2020
11:23 AM
by
ask_bill_brooks
Hi Friends,
Im trying to follow the cloudera get started tutorial and in that im following the below link
https://www.cloudera.com/developers/get-started-with-hadoop-tutorial/exercise-3.html
In that when im trying to create the collection using solr with the below command
solrctl --zk cloudera.myhost.com:2181/solr collection --create live_logs -s 1
Im getting the below error like
[root@cloudera flume]# solrctl --zk cloudera.myhost.local:2181/solr collection --create live_logs -s1
{ "responseHeader":{ "status":0, "QTime":32369}, "failure":{ "cloudera.myhost.local:8983_solr":"org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException:Error from server at http://cloudera.myhost.local:8983/solr: Error CREATEing SolrCore 'live_logs_shard1_replica_n1': Unable to create core [live_logs_shard1_replica_n1] Caused by: solr.IntField"}}
[root@cloudera flume]#
org.apache.solr.common.SolrException: Error CREATEing SolrCore 'live_logs_shard1_replica_n1': Unable to create core [live_logs_shard1_replica_n1] Caused by: solr.IntField
Not sure, the reason besides this issue. Kindly help me with a fix guys.
Regards,
GTA
Created 03-26-2020 05:21 AM
Hi Venkat,
Thanks for the reply and sorry for my delayed reply though.
As i understand, that i tried creating solr collection from the wrong path(instead of solr_home). On correcting this im able to creation collection.
Regards,
GTA
Created 03-16-2020 01:13 AM
Can you share the full stack trace of the exception to understand further
Created 03-26-2020 05:21 AM
Hi Venkat,
Thanks for the reply and sorry for my delayed reply though.
As i understand, that i tried creating solr collection from the wrong path(instead of solr_home). On correcting this im able to creation collection.
Regards,
GTA