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

Hudson commented on HDFS-8929:
------------------------------

FAILURE: Integrated in Hadoop-Hdfs-trunk #2286 (See 
[https://builds.apache.org/job/Hadoop-Hdfs-trunk/2286/])
HDFS-8929. Add a metric to expose the timestamp of the last journal 
(Contributed by surendra singh lilhore) (vinayakumarb: rev 
94cf7ab9d28a885181afeb2c181dfe857d158254)
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/qjournal/server/Journal.java
* 
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/qjournal/server/TestJournalNode.java
* 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/qjournal/server/JournalMetrics.java
* hadoop-common-project/hadoop-common/src/site/markdown/Metrics.md


> Add a metric to expose the timestamp of the last journal
> --------------------------------------------------------
>
>                 Key: HDFS-8929
>                 URL: https://issues.apache.org/jira/browse/HDFS-8929
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: journal-node
>            Reporter: Akira AJISAKA
>            Assignee: Surendra Singh Lilhore
>             Fix For: 2.8.0
>
>         Attachments: HDFS-8929-001.patch, HDFS-8929-002.patch, 
> HDFS-8929-003.patch, HDFS-8929-004.patch, HDFS-8929-005.patch
>
>
> If there are three JNs and only one JN is failing to journal, we can detect 
> it by monitoring the difference of the last written transaction id among JNs 
> from NN WebUI or JN metrics. However, it's difficult to define the threshold 
> to alert because the increase rate of the number of transaction depends on 
> how busy the cluster is. Therefore I'd like to propose a metric to expose the 
> timestamp of the last journal. That way we can easily alert if a JN is 
> failing to journal for some fixed period.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to