Skip to content

Commit

Permalink
HBASE-27069 Hbase SecureBulkload permission regression (#4475)
Browse files Browse the repository at this point in the history
Signed-off-by: Rajeshbabu Chintaguntla <rajeshbabu@apache.org>
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
  • Loading branch information
stoty authored May 31, 2022
1 parent 5c116d2 commit 4ce85aa
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit 4ce85aa

Please sign in to comment.