hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-4292) append() does not work for LocalFileSystem
Date Mon, 06 Oct 2008 22:12:44 GMT

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

Tsz Wo (Nicholas), SZE commented on HADOOP-4292:

> As Raghu points out and you acknowledged on the list, only the CRC file needs to be truncated.

Even only the CRC file is truncated, fail in append could result in data-checksum inconsistency.
 How could we fix this?

> The reason that I did not propose adding truncate() to FileSystem.java is that I did
not make dramatic change to FileSystem APIs.

There will be a lot of changes.  Are we going to apply all these changes to 0.18 and onwards?

> 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.

View raw message