Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-16844

Fix Connection leak in ObjectStore when new Conf object is used

Log workAgile BoardRank to TopRank to BottomVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0
    • Component/s: Metastore
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      The code path in ObjectStore.java currently leaks BoneCP (or Hikari) connection pools when a new configuration object is passed in. The code needs to ensure that the persistence-factory is closed before it is nullified.

      The relevant code is here. Note that pmf is set to null, but the underlying connection pool is not closed.

        Attachments

        1. HIVE-16844.1.patch
          0.6 kB
          Sunitha Beeram

        Issue Links

          Activity

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

            • Assignee:
              sbeeram Sunitha Beeram Assign to me
              Reporter:
              sbeeram Sunitha Beeram

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment