freedev / solrcloud-zookeeper-kubernetes

Run Solrcloud and Zookeeper in a Kubernetes environment
Apache License 2.0
57 stars 29 forks source link

Solr won't start #6

Closed pascal-cbs closed 5 years ago

pascal-cbs commented 5 years ago

After deploying to AKS Kubernetes cluster, we experience the following error. Do you have a solution for this kind of error ? Tried both cluster as the zookeeper version.

javax.servlet.ServletException: javax.servlet.UnavailableException: Error processing the request. CoreContainer is either not initialized or shutting down.
sourabh10995 commented 5 years ago

I figured out the issue. In this file /services/service-zookeeper.yml change the targetPort to 2181 since Zookeeper is locally running in 2181.

pascal-cbs commented 5 years ago

I figured out the issue. In this file /services/service-zookeeper.yml change the targetPort to 2181 since Zookeeper is locally running in 2181.

Seems to work. Thanks a lot! @freedev : should I create a PR ?

freedev commented 5 years ago

could you please submit pull request with the fix?

pascal-cbs commented 5 years ago

could you please submit pull request with the fix?

I do not have access to your repo. Can you just change targetPort: 2181 in the file service-zookeeper.yml ?

Another question. Is there a possibility to copy index files to the /store/data directory ?

The cluster version of aks is not working. Are you working on that issue too ?

freedev commented 5 years ago

git in general, and github in particular, gives the opportunity to create a pull request with the change you think should be useful. This is let anyone to contribute to any project.

freedev commented 5 years ago

If we need to change only the targetPort to 2181, very likely I can do it myself.

freedev commented 5 years ago

Done