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 "Tsz Wo Nicholas Sze (JIRA)" <ji...@apache.org> on 2014/03/25 00:48:44 UTC

[jira] [Commented] (HADOOP-10425) Incompatible behavior of LocalFileSystem:getContentSummary

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

Tsz Wo Nicholas Sze commented on HADOOP-10425:
----------------------------------------------

FilterFileSystem should not override getContentSummary(..) since it may use wrong versions of getFileStatus(..) and listStatus(..).

> Incompatible behavior of LocalFileSystem:getContentSummary
> ----------------------------------------------------------
>
>                 Key: HADOOP-10425
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10425
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 2.3.0
>            Reporter: Brandon Li
>            Assignee: Tsz Wo Nicholas Sze
>            Priority: Critical
>
> Unlike in Hadoop1, FilterFileSystem overrides getContentSummary, which causes content summary to be called on rawLocalFileSystem in Local mode.
> This impacts the computations of Stats in Hive with getting back FileSizes that include the size of the crc files.



--
This message was sent by Atlassian JIRA
(v6.2#6252)