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

If we get IOException when closing a region, we should still remove it from online regions and complete the close in ZK

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.90.0
    • 0.90.0
    • regionserver
    • None
    • Reviewed

    Description

      Ran into issue on cluster where HDFS was taken out from under it. RS eventually tried to shut itself down. As regions were being closed, they got IOException "Filesystem closed". In the CloseRegionHandlers, this was causing the close operation to not finish (in ZK and in the online region list in RS). That, in turn, held up the waitOnAllRegionsToClose() so the RS never shut down.

      If we get an IOException during a close, which can happen if fatal error doing flush, this is not recoverable so we should complete the region close in ZK and by removing from map of online regions on that RS.

      Attachments

        1. HBASE-3207-v1.patch
          2 kB
          Jonathan Gray

        Activity

          People

            streamy Jonathan Gray
            streamy Jonathan Gray
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: