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

Possible Resource Leak in HeterogeneousRegionCountCostFunction

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha-1, 2.3.0, 1.6.0
    • 3.0.0-alpha-1, 1.7.0, 2.5.0, 2.3.5, 2.4.2
    • None
    • None
    • Reviewed

    Description

      We noticed a possible resource leak here. close() is called on reader at line 228 but if an I/O error occurs at line 225, reader remains open since the exception isn't caught locally.
      I'll submit a pull request to fix it.

      Attachments

        Issue Links

          Activity

            People

              NargesShadab Narges Shadab
              NargesShadab Narges Shadab
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: