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 12:28:09 UTC

[GitHub] [ozone] ArafatCloudera opened a new pull request #3069: HDDS-534. ozone jmxget does not work.

ArafatCloudera opened a new pull request #3069:
URL: https://github.com/apache/ozone/pull/3069


   ## What changes were proposed in this pull request?
   
   As in the logs above jmxget is an an admin command, but does not work.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-534
   
   ## How was this patch tested?
   
   Na
   


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


[GitHub] [ozone] ArafatCloudera closed pull request #3069: HDDS-534. ozone jmxget does not work.

Posted by GitBox <gi...@apache.org>.
ArafatCloudera closed pull request #3069:
URL: https://github.com/apache/ozone/pull/3069


   


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


[GitHub] [ozone] adoroszlai commented on a change in pull request #3069: HDDS-534. ozone jmxget does not work.

Posted by GitBox <gi...@apache.org>.
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


[GitHub] [ozone] adoroszlai commented on pull request #3069: HDDS-534. ozone jmxget does not work.

Posted by GitBox <gi...@apache.org>.
adoroszlai commented on pull request #3069:
URL: https://github.com/apache/ozone/pull/3069#issuecomment-1063359068


   /pending


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


[GitHub] [ozone] siddhantsangwan commented on pull request #3069: HDDS-534. ozone jmxget does not work.

Posted by GitBox <gi...@apache.org>.
siddhantsangwan commented on pull request #3069:
URL: https://github.com/apache/ozone/pull/3069#issuecomment-1036045795


   Not sure how to use this command. Passing in a service argument doesn't seem to work:
   
   ```
   bash-4.2$ ozone jmxget -service=StorageContainerManager
   init: server=localhost;port=;service=StorageContainerManager;localVMUrl=null
   
   Domains:
   	Domain = JMImplementation
   	Domain = com.sun.management
   	Domain = java.lang
   	Domain = java.nio
   	Domain = java.util.logging
   	Domain = jdk.management.jfr
   
   MBeanServer default domain = DefaultDomain
   
   MBean count = 25
   
   Query MBeanServer MBeans:
   List of all the available keys:
   ```


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