[
https://issues.apache.org/jira/browse/HADOOP-4292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12637285#action_12637285
]
Hairong Kuang commented on HADOOP-4292:
---------------------------------------
> Even only the CRC file is truncated, fail in append could result in
> data-checksum inconsistency. How could we fix this?
Append is an operation that changes the content of file. So it has a potential
risk that may lead to data-crc inconsistency. This is a problem for append &
write. I do not plan to get it solved in this issue.
> My intuition is to make this two separate operations: truncate, and
> open-for-append.
This is fine for me.
Does the community feel comfortable for adding the method truncate to
FileSystem?
> append() does not work for LocalFileSystem
> ------------------------------------------
>
> Key: HADOOP-4292
> URL: https://issues.apache.org/jira/browse/HADOOP-4292
> Project: Hadoop Core
> Issue Type: Bug
> Components: fs
> Affects Versions: 0.18.0, 0.19.0
> Reporter: Raghu Angadi
> Assignee: Hairong Kuang
> Priority: Blocker
> Fix For: 0.18.2, 0.19.0
>
>
> append is supported by LocalFileSystem but it does not update crc when a file
> is appended.
> When you enable checksum verification {{TestLocalFileSystem.testAppend}}
> fails. Since HADOOP-4277 is a blocker for 0.17 I am planning to disable this
> test in HADOOP-4277.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.