hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-11601) Enhance FS spec & tests to mandate FileStatus.getBlocksize() >0 for non-empty files
Date Mon, 16 Feb 2015 17:36:12 GMT

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

Steve Loughran commented on HADOOP-11601:
-----------------------------------------

There's one thing I quickly want to clarify with the HDFS list: should the blocksize of a
file be min(filesize, defaultblocksize)

> Enhance FS spec & tests to mandate FileStatus.getBlocksize() >0 for non-empty
files
> -----------------------------------------------------------------------------------
>
>                 Key: HADOOP-11601
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11601
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: fs, test
>    Affects Versions: 2.6.0
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>            Priority: Minor
>         Attachments: HADOOP-11601-001.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> HADOOP-11584 has shown that the contract tests are not validating that {{FileStatus.getBlocksize()}}
must be >0 for any analytics jobs to partition workload correctly. 
> Clarify in text and add test to do this. Test MUST be designed to work against eventually
consistent filesystems where {{getFileStatus()}} may not be immediately visible, by retrying
operation if FS declares it is an object store.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message