Skip to content
Permalink
Browse files
HBASE-27069 Hbase SecureBulkload permission regression (#4475)
Signed-off-by: Rajeshbabu Chintaguntla <rajeshbabu@apache.org>
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
  • Loading branch information
stoty committed May 31, 2022
1 parent 5c116d2 commit 4ce85aa39ffe353ec0d23dd7dd96e1052ac6af81
Showing 1 changed file with 1 addition and 4 deletions.
@@ -398,10 +398,7 @@ public String prepareBulkLoad(final byte[] family, final String srcPath, boolean
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();
}

0 comments on commit 4ce85aa

Please sign in to comment.