[ https://issues.apache.org/jira/browse/HDFS-7257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14179435#comment-14179435 ]
Haohui Mai commented on HDFS-7257: ---------------------------------- I wonder why the string format is required -- I suppose the information can be added to the UI, where UI is converting the time to the local time today. There are two minor issues here: * As Hadoop needs to maintain the compatibility of JMX output, the changes should be minimal. * As brought up by previous jiras for UI improvement, the admin and the NN can reside in different timezone, which could be confusing in some cases. Maybe we can avoid adding the string and add the string to the web UI directly. > Add the time of last HA state transition to NN's /jmx page > ---------------------------------------------------------- > > Key: HDFS-7257 > URL: https://issues.apache.org/jira/browse/HDFS-7257 > Project: Hadoop HDFS > Issue Type: Improvement > Components: namenode > Reporter: Charles Lamb > Assignee: Charles Lamb > Priority: Minor > Attachments: HDFS-7257.001.patch, HDFS-7257.002.patch, > HDFS-7257.003.patch > > > It would be useful to some monitoring apps to expose the last HA transition > time in the NN's /jmx page. -- This message was sent by Atlassian JIRA (v6.3.4#6332)