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 ba83b62d36
commit d1d280fcfa
1 changed files with 1 additions and 1 deletions

View File

@ -238,7 +238,7 @@ public class FileContext {
private FileContext(final AbstractFileSystem defFs,
final FsPermission theUmask, final Configuration aConf) {
defaultFS = defFs;
umask = FsPermission.getUMask(aConf);
umask = theUmask;
conf = aConf;
tracer = FsTracer.get(aConf);
try {