[ https://issues.apache.org/jira/browse/HADOOP-11601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14326327#comment-14326327 ]
Steve Loughran commented on HADOOP-11601: ----------------------------------------- Marking HADOOP-11584 as related, but no "depends-on" relation. That patch has its own tests, which can be pulled up here afterwards > 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)