You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/06/18 13:10:52 UTC

[GitHub] [pulsar] trexinc opened a new issue #7301: [pulsar-admin] weird error on wrong command

trexinc opened a new issue #7301:
URL: https://github.com/apache/pulsar/issues/7301


   Pulsar 2.5.2
   If the run "pulsar-admin namespaces list" and by mistake give it a tenant/ns instead of just tenant I get the following error, and it takes some time to figure out what the problem is. Some input validation would help here.
   
   > pulsar-admin namespaces list tenant/ns
   null
   
   Reason: javax.ws.rs.client.ResponseProcessingException: com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize instance of `java.util.ArrayList<java.lang.Object>` out of START_OBJECT token
    at [Source: (org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream); line: 1, column: 1]
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] zongtanghu commented on issue #7301: [pulsar-admin] weird error on wrong command

Posted by GitBox <gi...@apache.org>.
zongtanghu commented on issue #7301:
URL: https://github.com/apache/pulsar/issues/7301#issuecomment-650473102


   it’s good and nice!
   
   
    原始邮件 
   发件人: Hao Zhang<no...@github.com>
   收件人: apache/pulsar<pu...@noreply.github.com>
   抄送: Hu Zongtang<hu...@cmss.chinamobile.com>; Comment<co...@noreply.github.com>
   发送时间: 2020年6月26日(周五) 21:37
   主题: Re: [apache/pulsar] [pulsar-admin] weird error on wrong command(#7301)
   
   
   OK. I had made a PR to fix it. #7369
   —
   You are receiving this because you commented.
   Reply to this email directly, view it on GitHub, or unsubscribe.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] zongtanghu commented on issue #7301: [pulsar-admin] weird error on wrong command

Posted by GitBox <gi...@apache.org>.
zongtanghu commented on issue #7301:
URL: https://github.com/apache/pulsar/issues/7301#issuecomment-647138866


   @zhanghaou You see,  can you fix this issue?


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] sijie closed issue #7301: [pulsar-admin] weird error on wrong command

Posted by GitBox <gi...@apache.org>.
sijie closed issue #7301:
URL: https://github.com/apache/pulsar/issues/7301


   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] jiazhai commented on issue #7301: [pulsar-admin] weird error on wrong command

Posted by GitBox <gi...@apache.org>.
jiazhai commented on issue #7301:
URL: https://github.com/apache/pulsar/issues/7301#issuecomment-646389987


   we should return "format error" when using "tenant/ns" as a tenant name.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] zongtanghu edited a comment on issue #7301: [pulsar-admin] weird error on wrong command

Posted by GitBox <gi...@apache.org>.
zongtanghu edited a comment on issue #7301:
URL: https://github.com/apache/pulsar/issues/7301#issuecomment-650473102


   it’s good and nice!


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] zhanghaou commented on issue #7301: [pulsar-admin] weird error on wrong command

Posted by GitBox <gi...@apache.org>.
zhanghaou commented on issue #7301:
URL: https://github.com/apache/pulsar/issues/7301#issuecomment-650183500


   OK. I had made a PR to fix it. [https://github.com/apache/pulsar/pull/7369](https://github.com/apache/pulsar/pull/7369)


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org