--- ql/src/java/org/apache/hadoop/hive/ql/security/authorization/StorageBasedAuthorizationProvider.java 2014-03-14 14:31:37.000000000 -0700 +++ ql/src/java/org/apache/hadoop/hive/ql/security/authorization/StorageBasedAuthorizationProvider.java 2014-05-27 11:10:47.000000000 -0700 @@ -123,14 +123,6 @@ // privileges for the hive root warehouse directory. That seems to be the best // mapping for user level privileges to storage. Using that strategy here. - Path root = null; - try { - initWh(); - root = wh.getWhRoot(); - authorize(root, readRequiredPriv, writeRequiredPriv); - } catch (MetaException ex) { - throw hiveException(ex); - } } @Override