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.

fail to start atlas in hdp 3.0

Highlighted

fail to start atlas in hdp 3.0

Contributor

After adding atlas service in hdp3.0, it failed to start service, the error is:

Error from server at http://en2-blue-tbdp.xxx.com:8886/solr: shards can be added only to 'implicit' collections
org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error from server at http://en2-blue-tbdp.xxx.com:8886/solr: shards can be added only to 'implicit' collections
	at org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:577)
	at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:241)
	at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:230)
	at org.apache.solr.client.solrj.impl.LBHttpSolrClient.doRequest(LBHttpSolrClient.java:372)
	at org.apache.solr.client.solrj.impl.LBHttpSolrClient.request(LBHttpSolrClient.java:325)
	at org.apache.solr.client.solrj.impl.CloudSolrClient.sendRequest(CloudSolrClient.java:1100)
	at org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:870)
	at org.apache.solr.client.solrj.impl.CloudSolrClient.request(CloudSolrClient.java:806)
	at org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:149)
	at org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:166)
	at org.apache.ambari.logsearch.solr.commands.AbstractSolrRetryCommand.createAndProcessRequest(AbstractSolrRetryCommand.java:43)
	at org.apache.ambari.logsearch.solr.commands.AbstractRetryCommand.retry(AbstractRetryCommand.java:45)
	at org.apache.ambari.logsearch.solr.commands.AbstractRetryCommand.retry(AbstractRetryCommand.java:54)
	at org.apache.ambari.logsearch.solr.commands.AbstractRetryCommand.retry(AbstractRetryCommand.java:54)
	at org.apache.ambari.logsearch.solr.commands.AbstractRetryCommand.retry(AbstractRetryCommand.java:54)
	at org.apache.ambari.logsearch.solr.commands.AbstractRetryCommand.retry(AbstractRetryCommand.java:54)
	at org.apache.ambari.logsearch.solr.commands.AbstractRetryCommand.run(AbstractRetryCommand.java:40)
	at org.apache.ambari.logsearch.solr.AmbariSolrCloudClient.createShard(AmbariSolrCloudClient.java:227)
	at org.apache.ambari.logsearch.solr.AmbariSolrCloudClient.createCollection(AmbariSolrCloudClient.java:116)
	at org.apache.ambari.logsearch.solr.AmbariSolrCloudCLI.main(AmbariSolrCloudCLI.java:473)

The Infra Solr service works well in the hdp cluster, i am assuming atlas is using the infra solr. can some one has any advice?

2 REPLIES 2

Re: fail to start atlas in hdp 3.0

New Contributor

Well, in my case, previously another Atlas service was deployed and removed, but in Apache Zookeeper the /infra-solr key still existed. So, in a Zookeeper shell I ran the following command "rmr /infra-solr -r". Next, I had to restart solr service. And finally the Atlas service could be started.

Re: fail to start atlas in hdp 3.0

New Contributor

Hi @forest lin! Have you solved it? In that case, please, can you publish the solution? Thanks in advance.