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:51:38 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1.2 d7118a988 -> dc4bdb992


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/dc4bdb99
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/dc4bdb99
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/dc4bdb99

Branch: refs/heads/branch-1.2
Commit: dc4bdb992886bf74dc8c0f2b50859042d6a81f76
Parents: d7118a9
Author: tedyu <yuzhihong@gmail.com>
Authored: Wed Mar 2 00:51:32 2016 -0800
Committer: tedyu <yuzhihong@gmail.com>
Committed: Wed Mar 2 00:51:32 2016 -0800

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


http://git-wip-us.apache.org/repos/asf/hbase/blob/dc4bdb99/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 5107f78..ab27cfc 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