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:14 GMT
Repository: hadoop
Updated Branches:
  refs/heads/trunk d5f5a6475 -> a290a98b6


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


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

Branch: refs/heads/trunk
Commit: a290a98b6ab2424ae9b7faab0ce9496d09ca46f3
Parents: d5f5a64
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:49:32 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/a290a98b/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 d1afd41..7832186 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
@@ -228,7 +228,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