Support Questions

Find answers, ask questions, and share your expertise

Apache Atlas/Ranger services are not starting in Horotnworks sandbox 2.5

avatar
New Contributor

ranger-start-error.txt

12876-ambari.jpg

Hello friends, I have down loaded Hortonworks sandbox 2.5 to learn more about Apache Atlas. After I start VM and trying to start Atlas/Ranger in Ambari I am getting error as in attached log and my services are not getting started. Can you please guide me trouble shoot this issue?

1 ACCEPTED SOLUTION

avatar

@Veeru Muppalla

Ambari-Infra comes with solr instance. It is used by Atlas and Ranger for indexing and auditing respectively. So it is required to have solr instance running for Atlas and Ranger to work.

From the logs you have attached, it looks like there are no live solr nodes.

No live SolrServers available to handle this request
org.apache.solr.client.solrj.SolrServerException: No live SolrServers available to handle this request

I would suggest to start the ambari infra component, which in-turn would bring up solr instance.

Also, I can see that you have maintenance mode turned on ambari-infra component, any specific reason? This actually does not run the service check and you will not able to know its status. My recommendation is to turn-off the maintenance mode on ambari-infra and restart the service. Once this service is up and running - Atlas and Ranger should come up properly. Let me know if it works.

View solution in original post

4 REPLIES 4

avatar

it seems ambari infra is not installed , can you please install ambari_infra , start it and then restart the ranger , it should work then.

avatar

@Veeru Muppalla

Ambari-Infra comes with solr instance. It is used by Atlas and Ranger for indexing and auditing respectively. So it is required to have solr instance running for Atlas and Ranger to work.

From the logs you have attached, it looks like there are no live solr nodes.

No live SolrServers available to handle this request
org.apache.solr.client.solrj.SolrServerException: No live SolrServers available to handle this request

I would suggest to start the ambari infra component, which in-turn would bring up solr instance.

Also, I can see that you have maintenance mode turned on ambari-infra component, any specific reason? This actually does not run the service check and you will not able to know its status. My recommendation is to turn-off the maintenance mode on ambari-infra and restart the service. Once this service is up and running - Atlas and Ranger should come up properly. Let me know if it works.

avatar
New Contributor

Hi Ayub, thanks a lot for your help. It worked 🙂

avatar
Master Mentor

along with Ambari infra, you need Kafka and HBase to be started.