Skip to content

Commit db0695d

Browse files
stotywenwj0
authored andcommitted
HBASE-27069 Hbase SecureBulkload permission regression (apache#4475)
Signed-off-by: Rajeshbabu Chintaguntla <rajeshbabu@apache.org> Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
1 parent a400a66 commit db0695d

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/SecureBulkLoadManager.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -398,10 +398,7 @@ public String prepareBulkLoad(final byte[] family, final String srcPath, boolean
398398
throw new IOException("Failed to move HFile: " + p + " to " + stageP);
399399
}
400400
}
401-
402-
if (StringUtils.isNotEmpty(customStaging)) {
403-
fs.setPermission(stageP, PERM_ALL_ACCESS);
404-
}
401+
fs.setPermission(stageP, PERM_ALL_ACCESS);
405402

406403
return stageP.toString();
407404
}

0 commit comments

Comments
 (0)