You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by te...@apache.org on 2016/03/02 09:49:24 UTC
hbase git commit: HBASE-15291 Revert due to the bug Haitao discovered
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 <yu...@gmail.com>
Authored: Wed Mar 2 00:49:17 2016 -0800
Committer: tedyu <yu...@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;
}