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

Potentially unclosed StoreFile(s) in DefaultCompactor#compact()

    Details

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

      Description

      Here is the related code (around line 129):

              for (StoreFile f : readersToClose) {
                f.closeReader(true);
              }
      

      If any closeReader() call throws IOException, the remaining StoreFile(s) would not be closed.

        Attachments

        1. 12614-v2.txt
          2 kB
          Ted Yu
        2. 12614-v1.txt
          1 kB
          Ted Yu

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: