You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Hairong Kuang (JIRA)" <ji...@apache.org> on 2006/09/06 01:22:23 UTC
[jira] Updated: (HADOOP-320) bin/hadoop dfs -mv does not mv
source's checksum file if source is a file
[ http://issues.apache.org/jira/browse/HADOOP-320?page=all ]
Hairong Kuang updated HADOOP-320:
---------------------------------
Attachment: mv.patch
Ok, figured out what went wrong. The rename method of FileSystem does try to move the checksum file, but it does not check if the destination is a directory or not. So if the dst is a directory, the src checksum file is incorrectly moved to .dst.crc not dst/.src.crc.
> bin/hadoop dfs -mv does not mv source's checksum file if source is a file
> --------------------------------------------------------------------------
>
> Key: HADOOP-320
> URL: http://issues.apache.org/jira/browse/HADOOP-320
> Project: Hadoop
> Issue Type: Bug
> Components: dfs
> Affects Versions: 0.3.2
> Reporter: Hairong Kuang
> Assigned To: Hairong Kuang
> Fix For: 0.6.0
>
> Attachments: mv.patch, rename.patch
>
>
> None of the rename operation of DistributedSystem or DFSClient checks if the source is a file or not. Need also to rename the checksum file accordingly if the source is a file.
--
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