[jira] [Commented] (HADOOP-13315) FileContext#umask is not initialized properly
[ https://issues.apache.org/jira/browse/HADOOP-13315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15374077#comment-15374077 ] Hudson commented on HADOOP-13315: - SUCCESS: Integrated in Hadoop-trunk-Commit #10084 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/10084/]) HADOOP-13315. FileContext#umask is not initialized properly. (John Zhuge (lei: rev a290a98b6ab2424ae9b7faab0ce9496d09ca46f3) * hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileContext.java > FileContext#umask is not initialized properly > - > > Key: HADOOP-13315 > URL: https://issues.apache.org/jira/browse/HADOOP-13315 > Project: Hadoop Common > Issue Type: Bug >Affects Versions: 2.6.0 >Reporter: John Zhuge >Assignee: John Zhuge >Priority: Minor > Fix For: 2.8.0, 2.9.0, 3.0.0-alpha1 > > Attachments: HADOOP-13315.001.patch > > > Notice field {{umask}} is not set to parameter {{theUmask}} and {{theUmask}} > is unused. > {code:title=FileContext.java} > private FileContext(final AbstractFileSystem defFs, > final FsPermission theUmask, final Configuration aConf) { > defaultFS = defFs; > umask = FsPermission.getUMask(aConf); > conf = aConf; > ... > public static FileContext getFileContext(final AbstractFileSystem defFS, > final Configuration aConf) { > return new FileContext(defFS, FsPermission.getUMask(aConf), aConf); > } > {code} > Proposal: > * Set {{umask}} to {{theUmask}}. Since the only caller {{getFileContext}} > already passes the same value in {{theUmask}}, there is no change in behavior. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org
[jira] [Commented] (HADOOP-13315) FileContext#umask is not initialized properly
[ https://issues.apache.org/jira/browse/HADOOP-13315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15373991#comment-15373991 ] John Zhuge commented on HADOOP-13315: - Thanks [~eddyxu]! > FileContext#umask is not initialized properly > - > > Key: HADOOP-13315 > URL: https://issues.apache.org/jira/browse/HADOOP-13315 > Project: Hadoop Common > Issue Type: Bug >Affects Versions: 2.6.0 >Reporter: John Zhuge >Assignee: John Zhuge >Priority: Minor > Fix For: 2.8.0, 2.9.0, 3.0.0-alpha1 > > Attachments: HADOOP-13315.001.patch > > > Notice field {{umask}} is not set to parameter {{theUmask}} and {{theUmask}} > is unused. > {code:title=FileContext.java} > private FileContext(final AbstractFileSystem defFs, > final FsPermission theUmask, final Configuration aConf) { > defaultFS = defFs; > umask = FsPermission.getUMask(aConf); > conf = aConf; > ... > public static FileContext getFileContext(final AbstractFileSystem defFS, > final Configuration aConf) { > return new FileContext(defFS, FsPermission.getUMask(aConf), aConf); > } > {code} > Proposal: > * Set {{umask}} to {{theUmask}}. Since the only caller {{getFileContext}} > already passes the same value in {{theUmask}}, there is no change in behavior. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org
[jira] [Commented] (HADOOP-13315) FileContext#umask is not initialized properly
[ https://issues.apache.org/jira/browse/HADOOP-13315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15347298#comment-15347298 ] Hadoop QA commented on HADOOP-13315: | (x) *{color:red}-1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || | {color:blue}0{color} | {color:blue} reexec {color} | {color:blue} 0m 21s{color} | {color:blue} Docker mode activated. {color} | | {color:green}+1{color} | {color:green} @author {color} | {color:green} 0m 0s{color} | {color:green} The patch does not contain any @author tags. {color} | | {color:red}-1{color} | {color:red} test4tests {color} | {color:red} 0m 0s{color} | {color:red} The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. {color} | | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 8m 9s{color} | {color:green} trunk passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 8m 31s{color} | {color:green} trunk passed {color} | | {color:green}+1{color} | {color:green} checkstyle {color} | {color:green} 0m 22s{color} | {color:green} trunk passed {color} | | {color:green}+1{color} | {color:green} mvnsite {color} | {color:green} 0m 56s{color} | {color:green} trunk passed {color} | | {color:green}+1{color} | {color:green} mvneclipse {color} | {color:green} 0m 13s{color} | {color:green} trunk passed {color} | | {color:green}+1{color} | {color:green} findbugs {color} | {color:green} 1m 22s{color} | {color:green} trunk passed {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 47s{color} | {color:green} trunk passed {color} | | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 0m 39s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 7m 0s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javac {color} | {color:green} 7m 0s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} checkstyle {color} | {color:green} 0m 27s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} mvnsite {color} | {color:green} 0m 57s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} mvneclipse {color} | {color:green} 0m 14s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} whitespace {color} | {color:green} 0m 0s{color} | {color:green} The patch has no whitespace issues. {color} | | {color:green}+1{color} | {color:green} findbugs {color} | {color:green} 1m 28s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 45s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} unit {color} | {color:green} 13m 28s{color} | {color:green} hadoop-common in the patch passed. {color} | | {color:green}+1{color} | {color:green} asflicense {color} | {color:green} 0m 21s{color} | {color:green} The patch does not generate ASF License warnings. {color} | | {color:black}{color} | {color:black} {color} | {color:black} 47m 25s{color} | {color:black} {color} | \\ \\ || Subsystem || Report/Notes || | Docker | Image:yetus/hadoop:85209cc | | JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12812939/HADOOP-13315.001.patch | | JIRA Issue | HADOOP-13315 | | Optional Tests | asflicense compile javac javadoc mvninstall mvnsite unit findbugs checkstyle | | uname | Linux 8bf386f06119 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux | | Build tool | maven | | Personality | /testptch/hadoop/patchprocess/precommit/personality/provided.sh | | git revision | trunk / dca298d | | Default Java | 1.8.0_91 | | findbugs | v3.0.0 | | Test Results | https://builds.apache.org/job/PreCommit-HADOOP-Build/9863/testReport/ | | modules | C: hadoop-common-project/hadoop-common U: hadoop-common-project/hadoop-common | | Console output | https://builds.apache.org/job/PreCommit-HADOOP-Build/9863/console | | Powered by | Apache Yetus 0.4.0-SNAPSHOT http://yetus.apache.org | This message was automatically generated. > FileContext#umask is not initialized properly > - > > Key: HADOOP-13315 > URL: https://issues.apache.org/jira/browse/HADOOP-13315 > Project: Hadoop Common > Issue Type: Bug >Affects Versions: 2.6.0 >Reporter: John Zhuge >Assignee: John Zhuge >Priority: Minor > Fix For: 2.8.0 > > Attachments: HADOOP-13315.001.patch > > > Notice
[jira] [Commented] (HADOOP-13315) FileContext#umask is not initialized properly
[ https://issues.apache.org/jira/browse/HADOOP-13315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15347220#comment-15347220 ] John Zhuge commented on HADOOP-13315: - An alternative proposal is to remove the parameter {{theUmask}}. > FileContext#umask is not initialized properly > - > > Key: HADOOP-13315 > URL: https://issues.apache.org/jira/browse/HADOOP-13315 > Project: Hadoop Common > Issue Type: Bug >Reporter: John Zhuge >Assignee: John Zhuge >Priority: Minor > > Notice field {{umask}} is not set to parameter {{theUmask}} and {{theUmask}} > is unused. > {code:title=FileContext.java} > private FileContext(final AbstractFileSystem defFs, > final FsPermission theUmask, final Configuration aConf) { > defaultFS = defFs; > umask = FsPermission.getUMask(aConf); > conf = aConf; > ... > public static FileContext getFileContext(final AbstractFileSystem defFS, > final Configuration aConf) { > return new FileContext(defFS, FsPermission.getUMask(aConf), aConf); > } > {code} > Proposal: > * Set {{umask}} to {{theUmask}}. Since the only caller {{getFileContext}} > already passes the same value in {{theUmask}}, there is no change in behavior. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org