You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by om...@apache.org on 2013/05/11 16:53:49 UTC

svn commit: r1481344 - /hive/branches/branch-0.11/service/src/java/org/apache/hive/service/auth/TUGIContainingProcessor.java

Author: omalley
Date: Sat May 11 14:53:49 2013
New Revision: 1481344

URL: http://svn.apache.org/r1481344
Log:
HIVE-4498 TestBeeLineWithArgs.testPositiveScriptFile fails (Thejas Nair via omalley)

Modified:
    hive/branches/branch-0.11/service/src/java/org/apache/hive/service/auth/TUGIContainingProcessor.java

Modified: hive/branches/branch-0.11/service/src/java/org/apache/hive/service/auth/TUGIContainingProcessor.java
URL: http://svn.apache.org/viewvc/hive/branches/branch-0.11/service/src/java/org/apache/hive/service/auth/TUGIContainingProcessor.java?rev=1481344&r1=1481343&r2=1481344&view=diff
==============================================================================
--- hive/branches/branch-0.11/service/src/java/org/apache/hive/service/auth/TUGIContainingProcessor.java (original)
+++ hive/branches/branch-0.11/service/src/java/org/apache/hive/service/auth/TUGIContainingProcessor.java Sat May 11 14:53:49 2013
@@ -54,12 +54,5 @@ public class TUGIContainingProcessor imp
     } 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);
-      }
-    }
   }
 }