You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2018/06/19 08:45:28 UTC

[GitHub] huhu-jin opened a new issue #341: queryMsgById which not return the message

huhu-jin opened a new issue #341: queryMsgById which  not return the message
URL: https://github.com/apache/rocketmq/issues/341
 
 
   the command likes this
   ```
   mqadmin queryMsgById -i D0D069A8191818B4AAC25FF6BB8603B0 
   ```
   even if   I add other optional args, RocketMq returns likes this 
   ```
   Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=128m; support was removed in 8.0
   Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=128m; support was removed in 8.0
   org.apache.rocketmq.tools.command.SubCommandException: QueryMsgByIdSubCommand command failed
           at org.apache.rocketmq.tools.command.message.QueryMsgByIdSubCommand.execute(QueryMsgByIdSubCommand.java:258)
           at org.apache.rocketmq.tools.command.MQAdminStartup.main0(MQAdminStartup.java:130)
           at org.apache.rocketmq.tools.command.MQAdminStartup.main(MQAdminStartup.java:81)
   Caused by: org.apache.rocketmq.client.exception.MQClientException: CODE: 208  DESC: query message by id finished, but no message.
   For more information, please visit the url, http://rocketmq.apache.org/docs/faq/
           at org.apache.rocketmq.client.impl.MQAdminImpl.viewMessage(MQAdminImpl.java:250)
           at org.apache.rocketmq.tools.admin.DefaultMQAdminExtImpl.viewMessage(DefaultMQAdminExtImpl.java:958)
           at org.apache.rocketmq.tools.admin.DefaultMQAdminExt.viewMessage(DefaultMQAdminExt.java:124)
           at org.apache.rocketmq.tools.command.message.QueryMsgByIdSubCommand.queryById(QueryMsgByIdSubCommand.java:47)
           at org.apache.rocketmq.tools.command.message.QueryMsgByIdSubCommand.execute(QueryMsgByIdSubCommand.java:252)
           ... 2 more
   ```
   but in RocketMq-console-ng i can find the message. 
   
   Do  i misunderstand anything?.
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


With regards,
Apache Git Services