HADOOP-13315. FileContext#umask is not initialized properly. (John Zhuge via lei)
(cherry picked from commit a290a98b6a
)
This commit is contained in:
parent
ba83b62d36
commit
d1d280fcfa
|
@ -238,7 +238,7 @@ public class FileContext {
|
||||||
private FileContext(final AbstractFileSystem defFs,
|
private FileContext(final AbstractFileSystem defFs,
|
||||||
final FsPermission theUmask, final Configuration aConf) {
|
final FsPermission theUmask, final Configuration aConf) {
|
||||||
defaultFS = defFs;
|
defaultFS = defFs;
|
||||||
umask = FsPermission.getUMask(aConf);
|
umask = theUmask;
|
||||||
conf = aConf;
|
conf = aConf;
|
||||||
tracer = FsTracer.get(aConf);
|
tracer = FsTracer.get(aConf);
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue