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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.94.3
    • 0.94.5, 0.95.0
    • None
    • None
    • 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-v6.txt
          4 kB
          Ted Yu
        2. 7515-v5.txt
          4 kB
          Chunhui Shen
        3. 7515-v4.txt
          4 kB
          Ted Yu
        4. 7515-v3.txt
          3 kB
          Ted Yu
        5. 7515-v2.txt
          2 kB
          Ted Yu
        6. 7515-0.94.txt
          4 kB
          Ted Yu
        7. 7515.txt
          2 kB
          Ted Yu

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: