HADOOP-13315. FileContext#umask is not initialized properly. (John Zhuge via lei)

(cherry picked from commit a290a98b6a)
This commit is contained in:
Lei Xu 2016-07-12 16:49:32 -07:00
parent 715734c9a3
commit 82c3c66dcb
1 changed files with 1 additions and 1 deletions

View File

@ -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 {