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

HiveServer2 using embedded MetaStore leaks JDOPersistanceManager

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.13.0
    • Fix Version/s: 0.14.0
    • Component/s: HiveServer2
    • Labels:
      None

      Description

      While using embedded metastore, while creating background threads to run async operations, HiveServer2 ends up creating new instances of JDOPersistanceManager which are cached in JDOPersistanceManagerFactory. Even when the background thread is killed by the thread pool manager, the JDOPersistanceManager are never GCed because they are cached by JDOPersistanceManagerFactory.

        Attachments

        1. HIVE-7353.1.patch
          5 kB
          Vaibhav Gumashta
        2. HIVE-7353.2.patch
          106 kB
          Vaibhav Gumashta
        3. HIVE-7353.3.patch
          110 kB
          Vaibhav Gumashta
        4. HIVE-7353.4.patch
          110 kB
          Vaibhav Gumashta
        5. HIVE-7353.5.patch
          110 kB
          Vaibhav Gumashta
        6. HIVE-7353.6.patch
          113 kB
          Vaibhav Gumashta
        7. HIVE-7353.7.patch
          119 kB
          Vaibhav Gumashta
        8. HIVE-7353.8.patch
          29 kB
          Vaibhav Gumashta
        9. HIVE-7353.9.patch
          29 kB
          Vaibhav Gumashta

          Issue Links

            Activity

              People

              • Assignee:
                vgumashta Vaibhav Gumashta
                Reporter:
                vgumashta Vaibhav Gumashta
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: