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

Possible Resource Leak in HeterogeneousRegionCountCostFunction

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha-1, 2.3.0, 1.6.0
    • Fix Version/s: 3.0.0-alpha-1, 1.7.0, 2.5.0, 2.3.5, 2.4.2
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      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

            • Assignee:
              NargesShadab Narges Shadab
              Reporter:
              NargesShadab Narges Shadab

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment