Community Articles
Find and share helpful community-sourced technical articles
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.
Labels (1)


Solr service check fails from ambari when Namenode HA is enabled with error:

Unable to create core [collection1_shard2_replica1] Caused by: Connection refused

Solution 1:

add this line "SOLR_HDFS_CONFIG=/etc/hadoop/conf" to solr-config-env content at the end of file

Restart Solr and now the service checks should pass.

Solution 2:

Another workaround is to edit the following file on your Ambari Server: /var/lib/ambari-server/resources/mpacks/solr-ambari-mpack-, and then make this change:

Then restart the Ambari Server. With this change in place the Solr instances will be started and will work fine with NN HA.

This will be fixed in HDP 2.6

Don't have an account?
Coming from Hortonworks? Activate your account here
Version history
Revision #:
1 of 1
Last update:
‎12-31-2016 08:21 PM
Updated by:
Top Kudoed Authors