Jamesmahaitao commented on issue #3515:
URL: https://github.com/apache/rocketmq/issues/3515#issuecomment-975634630
> > 1. ./mqadmin updateTopic -c DefaultCluster -n 127.0.0.1:9876 -t TopicTest
>
> Check whether namesrv is connected normally through `telnet 127.0.0.1
9876`.
telnet 127.0.0.1 9876 is succeed,but when i start MQAdminStartup to run
"updateTopic -c DefaultCluster -n 127.0.0.1:9876 -t TopicTest",it sometimes
raise up an exception that:
Caused by:
org.apache.rocketmq.remoting.exception.RemotingSendRequestException: **send
request to <127.0.0.1:9876> failed**
at
org.apache.rocketmq.remoting.netty.NettyRemotingAbstract.invokeSyncImpl(NettyRemotingAbstract.java:440)
at
org.apache.rocketmq.remoting.netty.NettyRemotingClient.invokeSync(NettyRemotingClient.java:377)
at
org.apache.rocketmq.client.impl.MQClientAPIImpl.getBrokerClusterInfo(MQClientAPIImpl.java:1335)
at
org.apache.rocketmq.tools.admin.DefaultMQAdminExtImpl.examineBrokerClusterInfo(DefaultMQAdminExtImpl.java:327)
at
org.apache.rocketmq.tools.admin.DefaultMQAdminExt.examineBrokerClusterInfo(DefaultMQAdminExt.java:258)
at
org.apache.rocketmq.tools.command.CommandUtil.fetchMasterAddrByClusterName(CommandUtil.java:83)
at
org.apache.rocketmq.tools.command.topic.UpdateTopicSubCommand.execute(UpdateTopicSubCommand.java:158)
sometimes print the message:"[error] Make sure the specified clusterName
exists or the name server connected to is correct" in console.
very confused. i guess the connection have problem between broker and name
server.
--
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]