[ https://issues.apache.org/jira/browse/HADOOP-9738?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jing Zhao updated HADOOP-9738: ------------------------------ Attachment: HADOOP-9738.001.patch The UMask is applied only when a file is created with default permission. Update TestDistCh based on this observation. > TestDistCh fails > ---------------- > > Key: HADOOP-9738 > URL: https://issues.apache.org/jira/browse/HADOOP-9738 > Project: Hadoop Common > Issue Type: Bug > Components: tools > Affects Versions: 2.1.0-beta > Reporter: Kihwal Lee > Assignee: Jing Zhao > Attachments: HADOOP-9738.001.patch > > > {noformat} > junit.framework.AssertionFailedError: expected:<r---w-rw-> but was:<r---wxrwx> > at junit.framework.Assert.fail(Assert.java:50) > at junit.framework.Assert.failNotEquals(Assert.java:287) > at junit.framework.Assert.assertEquals(Assert.java:67) > at junit.framework.Assert.assertEquals(Assert.java:74) > at > org.apache.hadoop.tools.TestDistCh.checkFileStatus(TestDistCh.java:197) > at org.apache.hadoop.tools.TestDistCh.testDistCh(TestDistCh.java:180) > {noformat} > It has been broken since Jun 14. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira