hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sanjay Dahiya (JIRA)" <j...@apache.org>
Subject [jira] Created: (HADOOP-769) Error in crc file after a FileSystem.rename operation.
Date Thu, 30 Nov 2006 20:08:21 GMT
Error in crc file after a FileSystem.rename operation. 

                 Key: HADOOP-769
                 URL: http://issues.apache.org/jira/browse/HADOOP-769
             Project: Hadoop
          Issue Type: Bug
          Components: dfs
            Reporter: Sanjay Dahiya

I am not sure whats going wrong here but after a file rename operation on a bunch of files,
I am losing crc files in the destination directory. It causes exceptions when doing dfs -get
or any other operation on the file. 
I added some prints and it seems renameRaw() is called on checksum file but its not created
in target path. There are no errors in namenode logs also. 

I will debug this further and more details if i find any. 

      Path checkFile = getChecksumFile(src);
        if (exists(checkFile)) { //try to rename checksum
          if(isDirectory(dst)) {
            renameRaw(checkFile, dst);
          } else {
            renameRaw(checkFile, getChecksumFile(dst));                    <=== This is

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message