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

Ilya Katsov commented on MAPREDUCE-4470:
----------------------------------------

Mariappan,
I've added this test to the patch. As far as I see, getSplits depends directly 
on FileSystem.getFileBlockLocations only in FileInputFormat and 
CombinedFileInputFormat, so other InputFormat implementations should be OK. 
Please let me know if I'm wrong on this.
                
> Fix TestCombineFileInputFormat.testForEmptyFile
> -----------------------------------------------
>
>                 Key: MAPREDUCE-4470
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4470
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 2.0.0-alpha
>            Reporter: Kihwal Lee
>             Fix For: 2.1.0-alpha, 3.0.0
>
>         Attachments: MAPREDUCE-4470-2.patch, MAPREDUCE-4470.patch, 
> TestFileInputFormat.java, TestFileInputFormat.java
>
>
> TestCombineFileInputFormat.testForEmptyFile started failing after 
> HADOOP-8599. 
> It expects one split on an empty input file, but with HADOOP-8599 it gets 
> zero. The new behavior seems correct, but is it breaking anything else?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to