Repository: hadoop Updated Branches: refs/heads/branch-2.8 e3ed99cfe -> d31660ef4
MAPREDUCE-6637. Testcase Failure : TestFileInputFormat.testSplitLocationInfo. Contributed by Brahma Reddy Battula. (cherry picked from commit 37577852ba54ba506b0b6c4db5e95d176f5e9b63) (cherry picked from commit 7f6737951a124480af2f3fff9358865fff3ed091) Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/d31660ef Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/d31660ef Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/d31660ef Branch: refs/heads/branch-2.8 Commit: d31660ef4aaaf5c45ad93bf59997c37f0f14eb2b Parents: e3ed99c Author: Andrew Wang <[email protected]> Authored: Fri Feb 19 16:33:17 2016 -0800 Committer: Andrew Wang <[email protected]> Committed: Fri Feb 19 16:33:44 2016 -0800 ---------------------------------------------------------------------- hadoop-mapreduce-project/CHANGES.txt | 3 +++ .../test/java/org/apache/hadoop/mapred/TestFileInputFormat.java | 2 +- .../apache/hadoop/mapreduce/lib/input/TestFileInputFormat.java | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/d31660ef/hadoop-mapreduce-project/CHANGES.txt ---------------------------------------------------------------------- diff --git a/hadoop-mapreduce-project/CHANGES.txt b/hadoop-mapreduce-project/CHANGES.txt index 9437619..d7a0dd8 100644 --- a/hadoop-mapreduce-project/CHANGES.txt +++ b/hadoop-mapreduce-project/CHANGES.txt @@ -420,6 +420,9 @@ Release 2.7.3 - UNRELEASED IMPROVEMENTS + MAPREDUCE-6637. Testcase Failure : TestFileInputFormat.testSplitLocationInfo. + (Brahma Reddy Battula via wang) + OPTIMIZATIONS BUG FIXES http://git-wip-us.apache.org/repos/asf/hadoop/blob/d31660ef/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapred/TestFileInputFormat.java ---------------------------------------------------------------------- diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapred/TestFileInputFormat.java b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapred/TestFileInputFormat.java index ba636b6..141086d 100644 --- a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapred/TestFileInputFormat.java +++ b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapred/TestFileInputFormat.java @@ -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" }, http://git-wip-us.apache.org/repos/asf/hadoop/blob/d31660ef/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapreduce/lib/input/TestFileInputFormat.java ---------------------------------------------------------------------- diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapreduce/lib/input/TestFileInputFormat.java b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapreduce/lib/input/TestFileInputFormat.java index 3f877f1..dff0e0d 100644 --- a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapreduce/lib/input/TestFileInputFormat.java +++ b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapreduce/lib/input/TestFileInputFormat.java @@ -422,7 +422,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" },
