FvvSuu opened a new issue, #6421:
URL: https://github.com/apache/inlong/issues/6421
### What happened
Some time after the deployment runs successfully, an exception occurs:
[MetaConfig Error] Connect to
node:[test-tube-master-1,TubeMQMasterGroupNode-test-tube-master-1] IOException
error is java.net.UnknownHostException
### What you expected to happen
Log contents:
[INFO] 2022-10-27 16:17:50,098 [CmptTMaster] [Balance Status] 170,
isMaster=false, isPrimaryNodeActive=false
[INFO] 2022-10-27 16:18:20,098 [CmptTMaster] [Balance Status] 171,
isMaster=false, isPrimaryNodeActive=false
[INFO] 2022-10-27 16:18:50,098 [CmptTMaster] [Balance Status] 172,
isMaster=false, isPrimaryNodeActive=false
[INFO] 2022-10-27 16:19:20,098 [CmptTMaster] [Balance Status] 173,
isMaster=false, isPrimaryNodeActive=false
[INFO] 2022-10-27 16:19:50,098 [CmptTMaster] [Balance Status] 174,
isMaster=false, isPrimaryNodeActive=false
[ERROR] 2022-10-27 16:20:24,104 [BdbMetaConfigMapperImpl] [MetaConfig
Error] Connect to
node:[test-tube-master-1,TubeMQMasterGroupNode-test-tube-master-1] IOException
error is java.net.UnknownHostException
[WARN] 2022-10-27 16:20:24,104 [CmptTMaster] Rebalance throwable error:
java.lang.IllegalArgumentException: Property: je.rep.helperHostsError:
Invalid hostname: test-tube-master-1: Name or service not known
at
com.sleepycat.je.rep.impl.RepParams$3.validateValue(RepParams.java:622)
at
com.sleepycat.je.rep.ReplicationMutableConfig.validateProperties(ReplicationMutableConfig.java:669)
at
com.sleepycat.je.rep.ReplicationMutableConfig.<init>(ReplicationMutableConfig.java:406)
at
com.sleepycat.je.rep.ReplicationConfig.<init>(ReplicationConfig.java:1319)
at
com.sleepycat.je.rep.RepInternal.makeReplicationConfig(RepInternal.java:72)
at
com.sleepycat.je.rep.impl.RepConfigManager.makeReplicationConfig(RepConfigManager.java:110)
at
com.sleepycat.je.rep.impl.RepImpl.cloneRepMutableConfig(RepImpl.java:460)
at
com.sleepycat.je.rep.ReplicatedEnvironment.getRepMutableConfig(ReplicatedEnvironment.java:950)
at
com.tencent.tubemq.server.master.metamanage.metastore.impl.bdbimpl.BdbMetaConfigMapperImpl.isPrimaryNodeActive(BdbMetaConfigMapperImpl.java:238)
at
com.tencent.tubemq.server.master.metamanage.DefaultMetaDataService.isPrimaryNodeActive(DefaultMetaDataService.java:159)
at
com.tencent.tubemq.server.cmpt.CmptTMaster.balance(CmptTMaster.java:1685)
at
com.tencent.tubemq.server.cmpt.CmptTMaster.access$700(CmptTMaster.java:107)
at
com.tencent.tubemq.server.cmpt.CmptTMaster$5.chore(CmptTMaster.java:2482)
at com.tencent.tubemq.server.master.utils.Chore.run(Chore.java:69)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.IllegalArgumentException: Invalid hostname:
test-tube-master-1: Name or service not known
at
com.sleepycat.je.rep.impl.RepParams.validateHostAndPort(RepParams.java:1075)
at com.sleepycat.je.rep.impl.RepParams.access$100(RepParams.java:39)
at
com.sleepycat.je.rep.impl.RepParams$3.validateValue(RepParams.java:617)
... 14 more
[ERROR] 2022-10-27 16:20:31,371 [BdbMetaConfigMapperImpl] [MetaConfig
Error] Connect to
node:[test-tube-master-2,TubeMQMasterGroupNode-test-tube-master-2] IOException
error
java.net.UnknownHostException
at sun.nio.ch.Net.translateException(Net.java:158)
at sun.nio.ch.SocketAdaptor.connect(SocketAdaptor.java:139)
at
com.sleepycat.je.rep.utilint.RepUtils.openSocketChannel(RepUtils.java:467)
at
com.sleepycat.je.rep.utilint.net.SimpleChannelFactory.connect(SimpleChannelFactory.java:52)
at com.sleepycat.je.rep.util.DbPing.getNodeState(DbPing.java:309)
at
com.sleepycat.je.rep.util.ReplicationGroupAdmin.getNodeState(ReplicationGroupAdmin.java:430)
### How to reproduce
Some time after the deployment runs successfully
### 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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]