hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l..@apache.org
Subject hadoop git commit: HADOOP-13315. FileContext#umask is not initialized properly. (John Zhuge via lei)
Date Tue, 12 Jul 2016 23:51:00 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2 715734c9a -> 82c3c66dc


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

(cherry picked from commit a290a98b6ab2424ae9b7faab0ce9496d09ca46f3)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/82c3c66d
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/82c3c66d
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/82c3c66d

Branch: refs/heads/branch-2
Commit: 82c3c66dcb3d899e8ac91a5dbd3347c49a607682
Parents: 715734c
Author: Lei Xu <lei@apache.org>
Authored: Tue Jul 12 16:49:32 2016 -0700
Committer: Lei Xu <lei@apache.org>
Committed: Tue Jul 12 16:50:12 2016 -0700

----------------------------------------------------------------------
 .../src/main/java/org/apache/hadoop/fs/FileContext.java            | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/82c3c66d/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileContext.java
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileContext.java
b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileContext.java
index 896eb39..568bf04 100644
--- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileContext.java
+++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileContext.java
@@ -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 {


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message