(cherry picked from commit 37577852ba54ba506b0b6c4db5e95d176f5e9b63) (cherry picked from commit 7f6737951a124480af2f3fff9358865fff3ed091)
@@ -10,6 +10,9 @@ Release 2.7.3 - UNRELEASED
MAPREDUCE-6436. JobHistory cache issue. (Kai Sasaki via zxu)
+ MAPREDUCE-6637. Testcase Failure : TestFileInputFormat.testSplitLocationInfo.
+ (Brahma Reddy Battula via wang)
+
OPTIMIZATIONS
BUG FIXES
@@ -243,7 +243,7 @@ public class TestFileInputFormat {
}
@Override
- public BlockLocation[] getFileBlockLocations(Path p, long start, long len)
+ public BlockLocation[] getFileBlockLocations(FileStatus file, long start, long len)
throws IOException {
return new BlockLocation[] {
new BlockLocation(new String[] { "localhost:50010", "otherhost:50010" },
@@ -422,7 +422,7 @@ public class TestFileInputFormat {