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

Store.loadStoreFiles should close opened files if there's an exception

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.94.3
    • Fix Version/s: 0.94.5, 0.95.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Related to HBASE-7513. If a RS is able to open a few store files in Store.loadStoreFiles but one of them fails like in 7513, the opened files won't be closed and file descriptors will remain in a CLOSED_WAIT state.

      The situation we encountered is that over the weekend one region was bounced between >100 region servers and eventually they all started dying on "Too many open files".

        Attachments

        1. 7515.txt
          2 kB
          Ted Yu
        2. 7515-0.94.txt
          4 kB
          Ted Yu
        3. 7515-v2.txt
          2 kB
          Ted Yu
        4. 7515-v3.txt
          3 kB
          Ted Yu
        5. 7515-v4.txt
          4 kB
          Ted Yu
        6. 7515-v5.txt
          4 kB
          chunhui shen
        7. 7515-v6.txt
          4 kB
          Ted Yu

          Activity

            People

            • Assignee:
              yuzhihong@gmail.com Ted Yu
              Reporter:
              jdcryans Jean-Daniel Cryans
            • Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: