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

Don't close parent classloader when session being closed

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • None
    • HiveServer2

    Description

      When hiveserver2 loads udfs,  Registry will use the session's specified classloader to load them and cache the classloader.  When user don't set the aux jars,  the classloader cached is equal to the session's parent classloader, in our case, we don't set the aux jars while update the session's parent classloader periodicity to update user jars dynamically. It's should do a sanity check when Registry closes the cached classloaders.

      Attachments

        1. HIVE-22989.patch
          1 kB
          Zhihua Deng

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dengzh Zhihua Deng
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m