You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/12/17 14:40:13 UTC

[GitHub] [pulsar-helm-chart] Syphixs opened a new issue #90: Zookeeper Error: Could not find or load main class #

Syphixs opened a new issue #90:
URL: https://github.com/apache/pulsar-helm-chart/issues/90


   **Describe the bug**
   I tried to create a new cluster from scratch but the zookeeper won't start. 
   For testing I changed component sizes to: 
   1 x proxy
   1 x broker 
   2 x zookeeper
   3 x bookies
   1 x recovery
   I configured cert-manager to provide self signed certs with JKS and PKCS12.
   
   Log: 
   
   [conf/zookeeper.conf] Applying config dataDir = /pulsar/data/zookeeper
   [conf/zookeeper.conf] Adding config secureClientPort = 2281
   [conf/zookeeper.conf] Adding config serverCnxnFactory = org.apache.zookeeper.server.NettyServerCnxnFactory
   processing /pulsar/certs/zookeeper/tls.crt : len = 1724
   processing /pulsar/certs/zookeeper/tls.key : len = 3272
   processing /pulsar/certs/ca/ca.crt : len = 1302
   Importing keystore /pulsar/zookeeper.p12 to /pulsar/zookeeper.keystore.jks...
   
   Warning:
   The JKS keystore uses a proprietary format. It is recommended to migrate to PKCS12 which is an industry standard format using "keytool -importkeystore -srckeystore /pulsar/zookeeper.keystore.jks -destkeystore /pulsar/zookeeper.keystore.jks -deststoretype pkcs12".
   Certificate was added to keystore
   processing /pulsar/zookeeper.keystore.jks : len = 3795
   processing /pulsar/zookeeper.truststore.jks : len = 1038
   Current server id 1
   Error: Could not find or load main class #
   
   
   **To Reproduce**
   Steps to reproduce the behavior:
   1. helm install --set initialize=true pulsar -f values.yaml ./pulsar
   
   **Expected behavior**
   Succesfully init cluster with near default values
   
   **Screenshots**
   ![image](https://user-images.githubusercontent.com/33832024/102501337-9fbd3900-407d-11eb-9b3a-19d68fda1a74.png)
   
   
   **Desktop (please complete the following information):**
    - OS: IOS
    - Kubernetes: 1.18.6
    - Helm: 3.3.1
   
   **Additional context**
   Add any other context about the problem here.
   


----------------------------------------------------------------
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



[GitHub] [pulsar-helm-chart] Syphixs closed issue #90: Zookeeper Error: Could not find or load main class #

Posted by GitBox <gi...@apache.org>.
Syphixs closed issue #90:
URL: https://github.com/apache/pulsar-helm-chart/issues/90


   


----------------------------------------------------------------
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



[GitHub] [pulsar-helm-chart] Syphixs commented on issue #90: Zookeeper Error: Could not find or load main class #

Posted by GitBox <gi...@apache.org>.
Syphixs commented on issue #90:
URL: https://github.com/apache/pulsar-helm-chart/issues/90#issuecomment-748050172


   After some more digging i discovered that I have commented out a line from an old config like this:
   
       PULSAR_GC: >
         -XX:+UseG1GC
         -XX:MaxGCPauseMillis=10
         -Dcom.sun.management.jmxremote
         -Djute.maxbuffer=10485760
         -XX:+ParallelRefProcEnabled
         -XX:+UnlockExperimentalVMOptions
         -XX:+DoEscapeAnalysis
         -XX:+DisableExplicitGC
         -XX:+PerfDisableSharedMem
       # -Dzookeeper.forceSync=no
   
   It seems that comment is interpreted as well an so the zookeeper can not start.
   


----------------------------------------------------------------
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