[
https://issues.apache.org/jira/browse/HADOOP-11601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15021105#comment-15021105
]
ASF GitHub Bot commented on HADOOP-11601:
-----------------------------------------
GitHub user steveloughran opened a pull request:
https://github.com/apache/hadoop/pull/50
HADOOP-11601
Enhance FS spec & tests to mandate FileStatus.getBlocksize() >0 for
non-empty files
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/steveloughran/hadoop
stevel/HADOOP-11601-min-blocksize
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/hadoop/pull/50.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #50
----
commit 19296717b8f33d9897c71a993319c0a90236fd00
Author: Steve Loughran <[email protected]>
Date: 2015-02-16T11:46:12Z
HADOOP-11601 Enhance FS spec & tests to mandate FileStatus.getBlocksize()
>0 for non-empty files
----
> 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: Sub-task
> Components: fs, test
> Affects Versions: 2.6.0
> Reporter: Steve Loughran
> Assignee: Steve Loughran
> Priority: Minor
> Labels: BB2015-05-TBR
> 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)