[ 
https://issues.apache.org/jira/browse/HDFS-3870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13444971#comment-13444971
 ] 

Chao Shi commented on HDFS-3870:
--------------------------------

One more: How often a JN is lagging (by counting the number of log syncs whose 
last-commited-txid >= firstTxnId). This indicates the JN is running under poor 
condition.
                
> QJM: add metrics to JournalNode
> -------------------------------
>
>                 Key: HDFS-3870
>                 URL: https://issues.apache.org/jira/browse/HDFS-3870
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>    Affects Versions: QuorumJournalManager (HDFS-3077)
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>
> The JournalNode should expose some basic metrics through the usual interface. 
> In particular:
> - the writer epoch, accepted epoch,
> - the last written transaction ID and last committed txid (which may be newer 
> in case that it's in the process of catching up)
> - latency information for how long the syncs are taking
> Please feel free to suggest others that come to mind.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to