gaozhangmin commented on PR #17589:
URL: https://github.com/apache/pulsar/pull/17589#issuecomment-1253268079

   @lhotari 
   With this pr, it looks weird when running pulsar-admin without full params 
provided.
   ```
   Main parameters are required ("persistent://tenant/namespace/topic")
   
   Get the internal stats for the topic
   Usage: stats-internal [options] persistent://tenant/namespace/topic
     Options:
       -m, --metadata
         Flag to include ledger metadata
         Default: false
   
   2022-09-21T14:18:44,043+0800 [main] WARN  
org.apache.pulsar.common.util.ShutdownUtil - Triggering immediate shutdown of 
current process with status 1
   java.lang.Exception: Stacktrace for immediate shutdown
        at 
org.apache.pulsar.common.util.ShutdownUtil.triggerImmediateForcefulShutdown(ShutdownUtil.java:52)
 ~[org.apache.pulsar-pulsar-common-2.11.0-SNAPSHOT.jar:2.11.0-SNAPSHOT]
        at 
org.apache.pulsar.admin.cli.PulsarAdminTool.exit(PulsarAdminTool.java:309) 
~[org.apache.pulsar-pulsar-client-tools-2.11.0-SNAPSHOT.jar:2.11.0-SNAPSHOT]
        at 
org.apache.pulsar.admin.cli.PulsarAdminTool.main(PulsarAdminTool.java:300) 
~[org.apache.pulsar-pulsar-client-tools-2.11.0-SNAPSHOT.jar:2.11.0-SNAPSHOT]
   ```


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

Reply via email to