Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Creating collection using solr fails

Solved Go to solution
Highlighted

Creating collection using solr fails

Explorer

Hi Friends,

 

Im trying to follow the cloudera get started tutorial and in that im following the below link

Exercise 3: Explore log events interactively

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

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: Creating collection using solr fails

Explorer

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

View solution in original post

2 REPLIES 2

Re: Creating collection using solr fails

Expert Contributor

Can you share the full stack trace of the exception to understand further

Highlighted

Re: Creating collection using solr fails

Explorer

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

View solution in original post

Don't have an account?
Coming from Hortonworks? Activate your account here