diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/SecureBulkLoadManager.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/SecureBulkLoadManager.java index 087f4cd6824a..214372110704 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/SecureBulkLoadManager.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/SecureBulkLoadManager.java @@ -398,10 +398,7 @@ public String prepareBulkLoad(final byte[] family, final String srcPath, boolean throw new IOException("Failed to move HFile: " + p + " to " + stageP); } } - - if (StringUtils.isNotEmpty(customStaging)) { - fs.setPermission(stageP, PERM_ALL_ACCESS); - } + fs.setPermission(stageP, PERM_ALL_ACCESS); return stageP.toString(); }