diff --git service/src/java/org/apache/hive/service/auth/TUGIContainingProcessor.java service/src/java/org/apache/hive/service/auth/TUGIContainingProcessor.java index 12250ec..4118211 100644 --- service/src/java/org/apache/hive/service/auth/TUGIContainingProcessor.java +++ service/src/java/org/apache/hive/service/auth/TUGIContainingProcessor.java @@ -54,12 +54,5 @@ public Boolean run() { } catch (IOException ioe) { throw new RuntimeException(ioe); // unexpected! } - finally { - // cleanup the filesystem handles at the end if they are cached - // clientUgi will be null if createRemoteUser() fails - if (clientUgi != null && !isFsCacheDisabled) { - shim.closeAllForUGI(clientUgi); - } - } } }