Repository: hbase Updated Branches: refs/heads/0.98 26c114c20 -> fe7bcf58d
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/fe7bcf58 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/fe7bcf58 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/fe7bcf58 Branch: refs/heads/0.98 Commit: fe7bcf58d9148df81280d83cb6f0d8e8eb174605 Parents: 26c114c Author: tedyu <[email protected]> Authored: Wed Mar 2 00:52:16 2016 -0800 Committer: tedyu <[email protected]> Committed: Wed Mar 2 00:52:16 2016 -0800 ---------------------------------------------------------------------- .../hbase/security/access/SecureBulkLoadEndpoint.java | 10 ---------- 1 file changed, 10 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/fe7bcf58/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 a491f3b..41613dd 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; }
