Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-3565

Add metrics to keep track of slow HLog appends

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      Whenever an edit takes too long to be written to an HLog, HBase logs a warning such as this one:

      2011-02-23 20:03:14,703 WARN org.apache.hadoop.hbase.regionserver.wal.HLog: IPC Server handler 21 on 60020 took 15065ms appending an edit to hlog; editcount=126050
      

      I would like to have a counter incremented each time this happens and this counter exposed via the metrics stuff in HBase so I can collect it in my monitoring system.

      Attachments

        1. HBASE-3565.trunk.v1.patch
          4 kB
          Mubarak Seyed

        Activity

          People

            mubarakseyed Mubarak Seyed
            tsuna Benoit Sigoure
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: