You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by GitBox <gi...@apache.org> on 2019/07/06 14:48:57 UTC

[GitHub] [drill] vvysotskyi commented on a change in pull request #1822: DRILL-7317: Close ClassLoaders used for udf jars uploading when closing FunctionImplementationRegistry

vvysotskyi commented on a change in pull request #1822: DRILL-7317: Close ClassLoaders used for udf jars uploading when closing FunctionImplementationRegistry
URL: https://github.com/apache/drill/pull/1822#discussion_r300833461
 
 

 ##########
 File path: exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/registry/FunctionRegistryHolder.java
 ##########
 @@ -151,6 +151,20 @@ public void removeJar(String jarName) {
     }
   }
 
+  /**
+   * Removes all jars from {@link #jars} map and all associated with jars functions
+   * from {@link #functions}.
+   * This is write operation, so one user at a time can call perform such action,
+   * others will wait till first user completes his action.
+   */
+  public void removeAllJars() {
 
 Review comment:
   Good idea!
   
   I have made this change, could you please review it again?

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services