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 087f4cd6824..21437211070 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 class SecureBulkLoadManager { 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(); }