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:52:02 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2.8 ba83b62d3 -> d1d280fcf


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/d1d280fc
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/d1d280fc
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/d1d280fc

Branch: refs/heads/branch-2.8
Commit: d1d280fcfa2ba98a54bb343a67128a813caa7757
Parents: ba83b62
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:51:55 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/d1d280fc/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 cd36388..5866c49 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