[ https://issues.apache.org/jira/browse/HDFS-4180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo (Nicholas), SZE resolved HDFS-4180. ------------------------------------------ Resolution: Fixed Fix Version/s: 1.2.0 I have committed this. Thanks, Jing! > TestFileCreation fails in branch-1 but not branch-1.1 > ----------------------------------------------------- > > Key: HDFS-4180 > URL: https://issues.apache.org/jira/browse/HDFS-4180 > Project: Hadoop HDFS > Issue Type: Bug > Components: test > Affects Versions: 1.2.0 > Reporter: Tsz Wo (Nicholas), SZE > Assignee: Jing Zhao > Priority: Minor > Fix For: 1.2.0 > > Attachments: HDFS-4180.b1.001.patch > > > {noformat} > Testcase: testFileCreation took 3.419 sec > Caused an ERROR > java.io.IOException: Cannot create /test_dir; already exists as a directory > at > org.apache.hadoop.hdfs.server.namenode.FSNamesystem.startFileInternal(FSNamesystem.java:1374) > at > org.apache.hadoop.hdfs.server.namenode.FSNamesystem.startFile(FSNamesystem.java:1334) > ... > at org.apache.hadoop.ipc.Server$Handler.run(Server.java:1387) > org.apache.hadoop.ipc.RemoteException: java.io.IOException: Cannot create > /test_dir; already exists as a directory > at > org.apache.hadoop.hdfs.server.namenode.FSNamesystem.startFileInternal(FSNamesystem.java:1374) > ... > at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:443) > at > org.apache.hadoop.hdfs.TestFileCreation.checkFileCreation(TestFileCreation.java:249) > at > org.apache.hadoop.hdfs.TestFileCreation.testFileCreation(TestFileCreation.java:179) > {noformat} -- 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