We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 595d9df commit b43a0eaCopy full SHA for b43a0ea
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/SecureBulkLoadManager.java
@@ -125,6 +125,10 @@ public void start() throws IOException {
125
}
126
if (!fs.exists(baseStagingDir)) {
127
fs.mkdirs(baseStagingDir, PERM_HIDDEN);
128
+ if (!PERM_HIDDEN.equals(PERM_HIDDEN.applyUMask(FsPermission.getUMask(conf)))) {
129
+ LOG.info("Modifying permissions to " + PERM_HIDDEN);
130
+ fs.setPermission(baseStagingDir, PERM_HIDDEN);
131
+ }
132
133
134
0 commit comments