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

Add a metric to expose the timestamp of the last journal

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: journal-node
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      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

            • Assignee:
              surendrasingh Surendra Singh Lilhore
              Reporter:
              ajisakaa Akira Ajisaka
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: