You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2022/02/10 14:34:44 UTC
[GitHub] [ozone] adoroszlai commented on a change in pull request #3069: HDDS-534. ozone jmxget does not work.
adoroszlai commented on a change in pull request #3069:
URL: https://github.com/apache/ozone/pull/3069#discussion_r803719630
##########
File path: hadoop-ozone/dist/src/shell/ozone/ozone
##########
@@ -211,6 +211,10 @@ function ozonecmd_case
OZONE_CLASSNAME=org.apache.hadoop.ozone.debug.OzoneDebug
OZONE_RUN_ARTIFACT_NAME="ozone-tools"
;;
+ jmxget)
+ OZONE_CLASSNAME='org.apache.hadoop.hdfs.tools.JMXGet'
Review comment:
I'm not sure we can simply use `JMXGet` from HDFS, as its help still references NameNode:
```
$ ozone jmxget -help
usage: jmxget options are:
-help print help
-localVM <VM's connector url> connect to the VM on the same machine;
use:
jstat -J-Djstat.showUnsupported=true
-snap <vmpid> | grep
sun.management.JMXConnectorServer.address
to find the url
-port <mbean server port> specify mbean server port, if missing -
it will try to connect to MBean Server in
the same VM
-server <mbean server> specify mbean server (localhost by
default)
-service <NameNode|DataNode> specify jmx service (NameNode by default)
```
--
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: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org