Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-8929

Add a metric to expose the timestamp of the last journal

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha1
    • journal-node
    • None
    • Reviewed
    • Exposed a metric 'LastJournalTimestamp' for JournalNode

    Description

      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.

      Attachments

        1. HDFS-8929-005.patch
          6 kB
          Surendra Singh Lilhore
        2. HDFS-8929-004.patch
          6 kB
          Surendra Singh Lilhore
        3. HDFS-8929-003.patch
          5 kB
          Surendra Singh Lilhore
        4. HDFS-8929-002.patch
          5 kB
          Surendra Singh Lilhore
        5. HDFS-8929-001.patch
          5 kB
          Surendra Singh Lilhore

        Activity

          People

            surendralilhore Surendra Singh Lilhore
            aajisaka Akira Ajisaka
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: