Repository: hbase Updated Branches: refs/heads/branch-1 d0c818630 -> 77c3c61b3
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/77c3c61b Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/77c3c61b Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/77c3c61b Branch: refs/heads/branch-1 Commit: 77c3c61b347e8d3da4487c0b5b828b2b8cc5d45a Parents: d0c8186 Author: tedyu <[email protected]> Authored: Wed Mar 2 00:49:59 2016 -0800 Committer: tedyu <[email protected]> Committed: Wed Mar 2 00:49:59 2016 -0800 ---------------------------------------------------------------------- .../hbase/security/access/SecureBulkLoadEndpoint.java | 10 ---------- 1 file changed, 10 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/77c3c61b/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; }
