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:
parent
5c116d239f
commit
4ce85aa39f
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue