Skip to content

Commit

Permalink
Revert "HBASE-27069 Hbase SecureBulkload permission regression (apach…
Browse files Browse the repository at this point in the history
…e#4475)"

This reverts commit db0695d.
  • Loading branch information
wenwj0 authored Jun 14, 2022
1 parent 0bb47f5 commit 806a7ee
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,10 @@ public String prepareBulkLoad(final byte[] family, final String srcPath, boolean
throw new IOException("Failed to move HFile: " + p + " to " + stageP);
}
}
fs.setPermission(stageP, PERM_ALL_ACCESS);

if (StringUtils.isNotEmpty(customStaging)) {
fs.setPermission(stageP, PERM_ALL_ACCESS);
}

return stageP.toString();
}
Expand Down

0 comments on commit 806a7ee

Please sign in to comment.