HBASE-27069 Hbase SecureBulkload permission regression (#4475)

Signed-off-by: Rajeshbabu Chintaguntla <rajeshbabu@apache.org>
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
This commit is contained in:
Istvan Toth 2022-05-31 10:52:35 +02:00 committed by Wellington Chevreuil
parent 8b9df125a3
commit 7f7c42e33e
1 changed files with 1 additions and 4 deletions

View File

@ -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();
}