HBASE-27069 Hbase SecureBulkload permission regression (#4475)
Signed-off-by: Rajeshbabu Chintaguntla <rajeshbabu@apache.org> Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
This commit is contained in:
parent
8b9df125a3
commit
7f7c42e33e
|
@ -398,10 +398,7 @@ public class SecureBulkLoadManager {
|
||||||
throw new IOException("Failed to move HFile: " + p + " to " + stageP);
|
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();
|
return stageP.toString();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue