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/11/07 05:21:21 UTC
[GitHub] [inlong] FvvSuu opened a new issue, #6421: [Bug][TubeMQ] host is blank
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: dev-unsubscribe@inlong.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [inlong] healchow closed issue #6421: [Bug][TubeMQ] host is blank
Posted by GitBox <gi...@apache.org>.
healchow closed issue #6421: [Bug][TubeMQ] host is blank
URL: https://github.com/apache/inlong/issues/6421
--
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
[GitHub] [inlong] gosonzhang commented on issue #6421: [Bug][TubeMQ] host is blank
Posted by GitBox <gi...@apache.org>.
gosonzhang commented on issue #6421:
URL: https://github.com/apache/inlong/issues/6421#issuecomment-1305189207
The problem should be the following [1]. When adding or modifying the broker configuration, the complete configuration information of the broker to be modified is not obtained, resulting in the host part being empty.
I will fix it, thanks @FvvSuu
1. https://github.com/apache/inlong/blob/master/inlong-tubemq/tubemq-server/src/main/java/org/apache/inlong/tubemq/server/master/metamanage/DefaultMetaDataService.java#L367
![image](https://user-images.githubusercontent.com/14038849/200249281-8f52ca10-0886-4fbe-96b6-4697e59b3c49.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.
To unsubscribe, e-mail: commits-unsubscribe@inlong.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [inlong] gosonzhang commented on issue #6421: [Bug][TubeMQ] host is blank
Posted by GitBox <gi...@apache.org>.
gosonzhang commented on issue #6421:
URL: https://github.com/apache/inlong/issues/6421#issuecomment-1305134447
Thanks @FvvSuu, I got it
--
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: commits-unsubscribe@inlong.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org