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

ExportSnapshot doesn't close FileSystem instances

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0.0, 0.98.10, 1.1.0
    • None
    • None
    • Reviewed

    Description

      While troubleshooting an out of memory error exporting snapshot to s3a, I found that ExportSnapshot doesn't close FileSystem instances it uses.

      An implementation (s3a e.g.) may depend on close() call so that resources are released.
      ExportSnapshot should close the FileSystem instances upon exit.

      Attachments

        1. 12819-v1.patch
          1 kB
          Ted Yu
        2. 12819-v2.patch
          2 kB
          Ted Yu
        3. 12819-v3.patch
          3 kB
          Ted Yu

        Issue Links

          Activity

            People

              yuzhihong@gmail.com Ted Yu
              yuzhihong@gmail.com Ted Yu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: