You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Kihwal Lee (Jira)" <ji...@apache.org> on 2020/06/08 22:19:00 UTC
[jira] [Commented] (HADOOP-16255) ChecksumFS.Make
FileSystem.rename(path, path, options) doesn't rename checksum
[ https://issues.apache.org/jira/browse/HADOOP-16255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17128685#comment-17128685 ]
Kihwal Lee commented on HADOOP-16255:
-------------------------------------
This needs to be in all active branches.
> ChecksumFS.Make FileSystem.rename(path, path, options) doesn't rename checksum
> ------------------------------------------------------------------------------
>
> Key: HADOOP-16255
> URL: https://issues.apache.org/jira/browse/HADOOP-16255
> Project: Hadoop Common
> Issue Type: Bug
> Components: fs
> Affects Versions: 2.8.5, 3.1.2
> Reporter: Steve Loughran
> Assignee: Jungtaek Lim
> Priority: Major
> Fix For: 3.2.1
>
> Attachments: HADOOP-16255-branch-2-001.patch
>
>
> ChecksumFS doesn't override FilterFS rename/3, so doesn't rename the checksum with the file.
> As a result, if a file is renamed over an existing file using rename(src, dest, OVERWRITE) the renamed file will be considered to have an invalid checksum -the old one is picked up instead.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org