hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From te...@apache.org
Subject hbase git commit: HBASE-15291 Revert due to the bug Haitao discovered
Date Wed, 02 Mar 2016 08:50:47 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1.3 c7add706a -> d74f99fbc


HBASE-15291 Revert due to the bug Haitao discovered


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/d74f99fb
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/d74f99fb
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/d74f99fb

Branch: refs/heads/branch-1.3
Commit: d74f99fbc1eabce5b5acadbb1c7cb1c679530394
Parents: c7add70
Author: tedyu <yuzhihong@gmail.com>
Authored: Wed Mar 2 00:50:41 2016 -0800
Committer: tedyu <yuzhihong@gmail.com>
Committed: Wed Mar 2 00:50:41 2016 -0800

----------------------------------------------------------------------
 .../hbase/security/access/SecureBulkLoadEndpoint.java     | 10 ----------
 1 file changed, 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/d74f99fb/hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/SecureBulkLoadEndpoint.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/SecureBulkLoadEndpoint.java
b/hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/SecureBulkLoadEndpoint.java
index a460b93..6c92a66 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/SecureBulkLoadEndpoint.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/SecureBulkLoadEndpoint.java
@@ -291,16 +291,6 @@ public class SecureBulkLoadEndpoint extends SecureBulkLoadService
                 new SecureBulkLoadListener(fs, bulkToken, conf));
           } catch (Exception e) {
             LOG.error("Failed to complete bulk load", e);
-          } finally {
-            if (fs != null) {
-              try {
-                if(!UserGroupInformation.getCurrentUser().equals(ugi)) {
-                  FileSystem.closeAllForUGI(ugi);
-                }
-              } catch (IOException e) {
-                LOG.error("Failed to close FileSystem for " + ugi.getUserName(), e);
-              }
-            }
           }
           return false;
         }


Mime
View raw message