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:56:47 UTC

svn commit: r1481345 - in /hive/trunk: ./ service/src/java/org/apache/hive/service/auth/TUGIContainingProcessor.java

Author: omalley
Date: Sat May 11 14:56:47 2013
New Revision: 1481345

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

Modified:
    hive/trunk/   (props changed)
    hive/trunk/service/src/java/org/apache/hive/service/auth/TUGIContainingProcessor.java

Propchange: hive/trunk/
------------------------------------------------------------------------------
  Merged /hive/branches/branch-0.11:r1481344

Modified: hive/trunk/service/src/java/org/apache/hive/service/auth/TUGIContainingProcessor.java
URL: http://svn.apache.org/viewvc/hive/trunk/service/src/java/org/apache/hive/service/auth/TUGIContainingProcessor.java?rev=1481345&r1=1481344&r2=1481345&view=diff
==============================================================================
--- hive/trunk/service/src/java/org/apache/hive/service/auth/TUGIContainingProcessor.java (original)
+++ hive/trunk/service/src/java/org/apache/hive/service/auth/TUGIContainingProcessor.java Sat May 11 14:56:47 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);
-      }
-    }
   }
 }