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

table.close() in TableEventHandler#reOpenAllRegions() should be enclosed in finally block

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.98.0, 0.99.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      If table.getRegionLocations() throws exception, table.close() would be skipped, leaking the underlying resource

        Attachments

        1. 10461-v1.txt
          1 kB
          Ted Yu

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              yuzhihong@gmail.com Ted Yu
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: