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 "Hadoop QA (JIRA)" <ji...@apache.org> on 2018/11/06 01:21:00 UTC

[jira] [Commented] (HADOOP-14128) ChecksumFs should override rename with overwrite flag

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

Hadoop QA commented on HADOOP-14128:
------------------------------------

| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | {color:blue} reexec {color} | {color:blue}  0m  0s{color} | {color:blue} Docker mode activated. {color} |
| {color:red}-1{color} | {color:red} patch {color} | {color:red}  0m  5s{color} | {color:red} HADOOP-14128 does not apply to trunk. Rebase required? Wrong Branch? See https://wiki.apache.org/hadoop/HowToContribute for help. {color} |
\\
\\
|| Subsystem || Report/Notes ||
| JIRA Issue | HADOOP-14128 |
| JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12946998/HADOOP-14128-branch2.8.1-001.patch |
| Console output | https://builds.apache.org/job/PreCommit-HADOOP-Build/15470/console |
| Powered by | Apache Yetus 0.8.0   http://yetus.apache.org |


This message was automatically generated.



> 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-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
(v7.6.3#76005)

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