HADOOP-13315. FileContext#umask is not initialized properly. (John Zhuge via lei)
(cherry picked from commit a290a98b6a
)
This commit is contained in:
parent
715734c9a3
commit
82c3c66dcb
|
@ -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