zymap commented on issue #5615:  Fix hangs when type invalid args at 
command-line
URL: https://github.com/apache/pulsar/pull/5615#issuecomment-555313787
 
 
   @sijie It will hang when we using command-line tools. The process hangs 
because there has a RuntimeException thrown and we are not handling. 
   
   I found we exit the `PulsarAdminTool` by the `System.exit`. When we parse an 
unknown command it will throw a RuntimeException. We need a boolean value to 
check should we exit. When it threw an Exception, there is no value to return 
so it can not exit as usual.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to