Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-4180

TestFileCreation fails in branch-1 but not branch-1.1

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.2.0
    • Fix Version/s: 1.2.0
    • Component/s: test
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      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)
      

        Issue Links

          Activity

            People

            • Assignee:
              Jing Zhao
              Reporter:
              Tsz Wo Nicholas Sze
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development