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 GitHub
parent 5c116d239f
commit 4ce85aa39f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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();
}