[
https://issues.apache.org/jira/browse/MAPREDUCE-4470?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13439734#comment-13439734
]
Alejandro Abdelnur commented on MAPREDUCE-4470:
-----------------------------------------------
With and without the patch I see the following failure:
{code}
$ mvn clean test -Dtest=TestCombineFileInputFormat
...
Running org.apache.hadoop.mapred.TestCombineFileInputFormat
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.673 sec
Running org.apache.hadoop.mapreduce.lib.input.TestCombineFileInputFormat
Tests run: 6, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 7.481 sec <<<
FAILURE!
Results :
Tests in error:
testMissingBlocks(org.apache.hadoop.mapreduce.lib.input.TestCombineFileInputFormat):
org.apache.hadoop.fs.BlockLocation
...
{code}
> 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