hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hrishikesh Gadre (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-14128) ChecksumFs should override rename with overwrite flag
Date Tue, 06 Nov 2018 18:59:01 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-14128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16677174#comment-16677174

Hrishikesh Gadre commented on HADOOP-14128:

[~xiaochen] mentioned that the pre-commit build for branch-2.8 is broken. Let me resubmit
the patch against the trunk.

> ChecksumFs should override rename with overwrite flag
> -----------------------------------------------------
>                 Key: HADOOP-14128
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14128
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: common, fs
>    Affects Versions: 2.8.1
>            Reporter: Mathieu Chataigner
>            Assignee: Hrishikesh Gadre
>            Priority: Major
>         Attachments: HADOOP-14128-branch-2.8.1-001.patch, HADOOP-14128-branch2.8.1-001.patch,
HADOOP-14128.001.patch, HADOOP-14128.002.patch
> When I call FileContext.rename(src, dst, Options.Rename.OVERWRITE) on a LocalFs (which
extends ChecksumFs), it does not update crc files.
> Every subsequent read on moved files will result in failures due to crc missmatch.
> One solution is to override rename(src, dst, overwrite) the same way it's done with rename(src,
dst) and moving crc files accordingly.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org

View raw message