Hi,

I am having a problem with my Solr on Ambari + HDP Stack.

When I try to create a collection through Solr or create an index through
Hue using a csv file, I get the below error:

{ "message": 
"{\"responseHeader\":{\"status\":400,\"QTime\":16025},\"error\":{\"metadata\":[\"error-class\",\"org.apache.solr.common.SolrException\",\"root-error-class\",\"org.apache.solr.common.cloud.ZooKeeperException\"],\"msg\":\"Error
CREATEing SolrCore 'deneme': Unable to create core [deneme] Caused by:
Could not find configName for collection deneme found:[twitter_demo,
testCollMoney, collection1]\",\"code\":400}}\n (error 400)", "traceback": [
[ "/usr/local/hue/desktop/libs/libsolr/src/libsolr/api.py", 541,
"create_core", "response = self._root.post('admin/cores', params=params,
contenttype='application/json')" ], [
"/usr/local/hue/desktop/core/src/desktop/lib/rest/resource.py", 132,
"post", "allow_redirects=allow_redirects,
clear_cookies=clear_cookies)" ], [
"/usr/local/hue/desktop/core/src/desktop/lib/rest/resource.py", 81, "invoke"
, "clear_cookies=clear_cookies)" ], [
"/usr/local/hue/desktop/core/src/desktop/lib/rest/http_client.py", 173,
"execute", "raise self._exc_class(ex)" ] ], "detail": null, "title": "Error
while accessing Solr" }

If I try to install examples on Hue, I get the below error:

"responseHeader":{"status":400,"QTime":7},"error":{"metadata":["error-class"
,"org.apache.solr.common.SolrException","root-error-class",
"java.lang.ClassNotFoundException"],"msg":"Error CREATEing SolrCore
'twitter_demo': Unable to create core [twitter_demo] Caused by:
solr.ThaiWordFilterFactory","code":400}}

The only was I can create a collection is uploading zookeeper config first
then using ./solr create -c command (both manually on command line). I want
to be able to create them over web ui.

Story: First I installed Solr on Ambari while existing Ambari Infra Solr
was working. When doing this, Ambari was not starting Solr with /infra-solr
Zookeeper path.

Today I removed Solr (keeping Infra-Solr but stopping it) on another host.
Result was the same. One tip: even if this installation is a clean one,
Solr installation canoeist the configs left from my very first manual Solr
installation on tree view.

Environment:

Ambari: 2.4.2

HDP: 2.5.3

Solr: 6.4.0 from https://github.com/abajwa-hw/solr-stack (I changed the
repo URL to 6.4.0)

Hue: 3.11 on Docker (Centos 6.8)

I will be glad if you can help me to find a solution to this.


Regards,
Sedat Kestepe
LinkedIn <https://www.linkedin.com/in/sedat-kestepe-7446146a>

Reply via email to