You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@inlong.apache.org by GitBox <gi...@apache.org> on 2022/04/06 08:47:38 UTC
[GitHub] [incubator-inlong] shink opened a new issue, #3553: [Bug][TubeMQ] NoClassDefFoundError: com/sleepycat/je/ReplicaConsistencyPolicy
shink opened a new issue, #3553:
URL: https://github.com/apache/incubator-inlong/issues/3553
### What happened
Error when starting `tubemq-all` container in the pod.
The command is:
```bash
$ sudo kubectl logs inlong-tubemq-master-0 -n inlong
```
The log is:
```
Starting TubeMQ master server...
/opt/tubemq-server /opt/tubemq-server
/opt/tubemq-server
OpenJDK 64-Bit Server VM warning: UseCMSCompactAtFullCollection is deprecated and will likely be removed in a future release.
Exception in thread "main" java.lang.NoClassDefFoundError: com/sleepycat/je/ReplicaConsistencyPolicy
at org.apache.inlong.tubemq.server.master.metamanage.DefaultMetaDataService.<init>(DefaultMetaDataService.java:83)
at org.apache.inlong.tubemq.server.master.TMaster.<init>(TMaster.java:212)
at org.apache.inlong.tubemq.server.tools.MasterStartup.main(MasterStartup.java:44)
Caused by: java.lang.ClassNotFoundException: com.sleepycat.je.ReplicaConsistencyPolicy
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
... 3 more
[WARN] 2022-04-06 08:22:49,706 [MasterConfig] [replication] section is deprecated. Please config in [meta_bdb] section.
[INFO] 2022-04-06 08:22:49,713 [MasterStartup] [MasterStartup] master config is: org.apache.inlong.tubemq.server.master.MasterConfig@64b8f8f4[hostName=inlong-tubemq-master-0.inlong-tubemq-master.inlong.svc.cluster.local,port=8715,webPort=8080,tlsConfig="TLSConfig":{"tlsEnable":false,"tlsPort":8716,"tlsTrustStorePath":"","tlsTrustStorePassword":"","tlsTwoWayAuthEnable":false,"tlsKeyStorePath":"","tlsKeyStorePassword":""},useBdbStoreMetaData=true,zkMetaConfig=<null>,bdbMetaConfig="BdbMetaConfig":{"repGroupName":inlong-tubemq-master","repNodeName":"inlong-tubemq-master-1","repNodePort":9001","metaDataPath":"/data/meta_data","repHelperHost":"inlong-tubemq-master-0.inlong-tubemq-master.inlong.svc.cluster.local:9001","metaLocalSyncPolicy":1,"metaReplicaSyncPolicy":3,"repReplicaAckPolicy":1,"repStatusCheckTimeoutMs":10000},consumerBalancePeriodMs=30000,firstBalanceDelayAfterStartMs=60000,consumerHeartbeatTimeoutMs=30000,producerHeartbeatTimeoutMs=45000,brokerHeartbeatTimeoutMs=25000,rpc
ReadTimeoutMs=10000,nettyWriteBufferHighWaterMark=10485760,nettyWriteBufferLowWaterMark=5242880,onlineOnlyReadToRWPeriodMs=120000,offlineOnlyReadToRWPeriodMs=30000,stepChgWaitPeriodMs=12000,confModAuthToken=abc,webResourcePath=resources,maxGroupBrokerConsumeRate=50,maxGroupRebalanceWaitPeriod=2,maxAutoForbiddenCnt=5,socketSendBuffer=-1,socketRecvBuffer=-1,startOffsetResetCheck=false,rowLockWaitDurMs=30000,startVisitTokenCheck=false,startProduceAuthenticate=false,startProduceAuthorize=false,startConsumeAuthenticate=false,startConsumeAuthorize=false,visitTokenValidPeriodMs=300000,needBrokerVisitAuth=false,useWebProxy=true,visitName=,visitPassword=,authValidTimeStampPeriodMs=20000,rebalanceParallel=4,maxMetaForceUpdatePeriodMs=180000]
[INFO] 2022-04-06 08:22:49,809 [AbstractDaemonService] [VisitToken Manager]-daemon-thread started
```
### What you expected to happen
The tubemq container can be started correctly.
### How to reproduce
Execute the command in `docker/kubenetes` directory.
```bash
sudo kubectl create namespace inlong
sudo helm upgrade inlong --install -n inlong ./
```
### Environment
_No response_
### InLong version
master
### InLong Component
InLong TubeMQ
### Are you willing to submit PR?
- [ ] Yes, I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
--
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.
To unsubscribe, e-mail: dev-unsubscribe@inlong.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-inlong] dockerzhang closed issue #3553: [Bug][K8s] TubeMQ pod fails to start
Posted by GitBox <gi...@apache.org>.
dockerzhang closed issue #3553: [Bug][K8s] TubeMQ pod fails to start
URL: https://github.com/apache/incubator-inlong/issues/3553
--
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.
To unsubscribe, e-mail: dev-unsubscribe@inlong.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org