You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2019/04/05 11:40:31 UTC

[GitHub] [accumulo] jzgithub1 commented on a change in pull request #1034: Fix #933 RuntimeException while stopping Accumulo

jzgithub1 commented on a change in pull request #1034: Fix #933 RuntimeException while stopping Accumulo
URL: https://github.com/apache/accumulo/pull/1034#discussion_r272550252
 
 

 ##########
 File path: start/src/main/java/org/apache/accumulo/start/classloader/vfs/AccumuloReloadingVFSClassLoader.java
 ##########
 @@ -199,6 +211,12 @@ public AccumuloReloadingVFSClassLoader(String uris, FileSystemManager vfs,
    * thread
    */
   public void close() {
+    try {
+      Stream.of(this.files).forEach(monitor::removeFile);
+    } catch (RuntimeException re) {
 
 Review comment:
   Great idea.  I will implement that.  Thanks for the style suggestion.

----------------------------------------------------------------
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