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

Add exception handler for lease thread

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.0
    • 0.98.14, 1.0.2, 1.2.0, 1.1.2, 1.3.0, 2.0.0
    • None
    • None

    Description

      In a prod cluster, a region server exited for some important
      threads were not alive. After excluding other threads from the log, we doubted the lease thread was the root.

      So we need to add an exception handler to the lease thread to debug why it exited in future.

      2015-06-29,12:46:09,222 INFO org.apache.hadoop.hbase.regionserver.HRegionServer: STOPPED: One or more threads are no longer alive – stop
      2015-06-29,12:46:09,223 INFO org.apache.hadoop.ipc.HBaseServer: Stopping server on 21600
      ...
      2015-06-29,12:46:09,330 INFO org.apache.hadoop.hbase.regionserver.LogRoller: LogRoller exiting.
      2015-06-29,12:46:09,330 INFO org.apache.hadoop.hbase.regionserver.MemStoreFlusher: Thread-37 exiting
      2015-06-29,12:46:09,330 INFO org.apache.hadoop.hbase.regionserver.HRegionServer$CompactionChecker: regionserver21600.compactionChecker exiting
      2015-06-29,12:46:12,403 INFO org.apache.hadoop.hbase.regionserver.HRegionServer$PeriodicMemstoreFlusher: regionserver21600.periodicFlusher exiting

      Attachments

        1. HBASE-13988-v002.diff
          1 kB
          Shaohui Liu
        2. HBASE-13988-v001.diff
          0.9 kB
          Shaohui Liu
        3. HBASE-13988-addendum.diff
          0.9 kB
          Shaohui Liu

        Activity

          People

            liushaohui Shaohui Liu
            liushaohui Shaohui Liu
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: