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 9ea3e39 commit 2e08c69Copy full SHA for 2e08c69
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/SecureBulkLoadManager.java
@@ -124,6 +124,10 @@ public void start() throws IOException {
124
}
125
if (!fs.exists(baseStagingDir)) {
126
fs.mkdirs(baseStagingDir, PERM_HIDDEN);
127
+ if (!PERM_HIDDEN.equals(PERM_HIDDEN.applyUMask(FsPermission.getUMask(conf)))) {
128
+ LOG.info("Modifying permissions to " + PERM_HIDDEN);
129
+ fs.setPermission(baseStagingDir, PERM_HIDDEN);
130
+ }
131
132
133
0 commit comments