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:49:24 GMT
Repository: hbase
Updated Branches:
  refs/heads/master dc4494366 -> edc5ab5af


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

Branch: refs/heads/master
Commit: edc5ab5af9829932108dff90a9ec6a7cd611ff42
Parents: dc44943
Author: tedyu <yuzhihong@gmail.com>
Authored: Wed Mar 2 00:49:17 2016 -0800
Committer: tedyu <yuzhihong@gmail.com>
Committed: Wed Mar 2 00:49:17 2016 -0800

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


http://git-wip-us.apache.org/repos/asf/hbase/blob/edc5ab5a/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 710ab44..06a2298 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
@@ -292,16 +292,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