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

HiveServer2 using embedded MetaStore leaks JDOPersistanceManager

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.13.0
    • 0.14.0
    • HiveServer2
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: