hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luca Telloli (JIRA)" <j...@apache.org>
Subject [jira] Created: (HDFS-462) Unit tests not working under Windows
Date Mon, 06 Jul 2009 17:51:15 GMT
Unit tests not working under Windows
------------------------------------

                 Key: HDFS-462
                 URL: https://issues.apache.org/jira/browse/HDFS-462
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: test
            Reporter: Luca Telloli


Unit tests are failing on windows due to a problem with rename. 
The failing code is around line 520 in FSImage.java: 
{noformat}
      assert curDir.exists() : "Current directory must exist.";
      assert !prevDir.exists() : "prvious directory must not exist.";
      assert !tmpDir.exists() : "prvious.tmp directory must not exist.";
      // rename current to tmp
      rename(curDir, tmpDir);
      // save new image
      if (!curDir.mkdir())
        throw new IOException("Cannot create directory " + curDir);
{noformat}

and seems related to some open file or directory

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message