You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by GitBox <gi...@apache.org> on 2021/02/09 14:04:26 UTC

[GitHub] [lucene-solr-operator] krishnachalla-hv opened a new issue #213: Solr cloud provided zookeeper cluster in unhealthy state

krishnachalla-hv opened a new issue #213:
URL: https://github.com/apache/lucene-solr-operator/issues/213


   I have installed **v0.2.8** version of the operator, Sometimes one of the provided zookeeper instance goes into unhealthy state. I have used default values initialize zookeeper instance that are provided in the documentation. Here is my configuration:
   
   ```
   apiVersion: v2
   name: test
   description: A Helm chart for intializing multi node solr cloud.
   appVersion: 1.0.0
   dependencies:
     - name: solr-operator
       version: 0.2.8
       repository: "https://apache.github.io/lucene-solr-operator/charts"
       condition: solr-operator.enabled
   
     - name: zookeeper-operator
       version: 0.3.0
       repository: "https://kubernetes-charts.banzaicloud.com"
       condition: zookeeper-operator.enabled
   
   ```
   And the solr cloud yaml file:
   
   ```
   apiVersion: solr.bloomberg.com/v1beta1
   kind: SolrCloud
   metadata:
     name: {{ .Release.Name }}
   spec:
     dataStorage:
       persistent:
         reclaimPolicy: Retain
         pvcTemplate:
           spec:
             resources:
               requests:
                 storage: "5Gi"
     replicas: 2
     solrImage:
       tag: 8.7.0
     solrJavaMem: "-Xms1g -Xmx3g"
     customSolrKubeOptions:
       podOptions:
         resources:
           limits:
             memory: "1G"
           requests:
             cpu: "65m"
             memory: "156Mi"
     zookeeperRef:
       provided:
         chroot: "/solr"
         persistence:
           reclaimPolicy: Retain
           spec:
             resources:
               requests:
                 storage: "5Gi"
         replicas: 3
         zookeeperPodPolicy:
           resources:
             limits:
               memory: "1G"
             requests:
               cpu: "65m"
               memory: "156Mi"
     solrOpts: "-Dsolr.autoSoftCommit.maxTime=10000"
     solrGCTune: "-XX:SurvivorRatio=4 -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=8"
   ```
   
   After applying the above configuration always 2nd zk pod will be in unhealthy state.[ZK pod error.log](https://github.com/apache/lucene-solr-operator/files/5951776/ZK.pod.error.log) But the remaining 2 ZK pods will be functioning properly.
   ![zk unhealthy state](https://user-images.githubusercontent.com/60733731/107374588-c348b100-6b0d-11eb-9b41-005861a15c9e.png)
   
   
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org