shawnweeks commented on a change in pull request #32: ATLAS-3092: Atlas Plugin 
ClassLoader Doesn't Restore Thread ClassLoader
URL: https://github.com/apache/atlas/pull/32#discussion_r268901926
 
 

 ##########
 File path: 
plugin-classloader/src/main/java/org/apache/atlas/plugin/classloader/AtlasPluginClassLoader.java
 ##########
 @@ -206,7 +209,7 @@ public void activate() {
         if (LOG.isDebugEnabled()) {
             LOG.debug("==> AtlasPluginClassLoader.activate()");
         }
-
+        previousLoader = Thread.currentThread().getContextClassLoader();
 
 Review comment:
   Or just handling this in the HiveHook it self? Then it should all be in the 
same thread and would be hive specific.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to