MAPREDUCE-6637. Testcase Failure : TestFileInputFormat.testSplitLocationInfo. Contributed by Brahma Reddy Battula.
This commit is contained in:
parent
18f9b77a32
commit
37577852ba
@ -729,6 +729,9 @@ Release 2.7.3 - UNRELEASED
|
|||||||
|
|
||||||
IMPROVEMENTS
|
IMPROVEMENTS
|
||||||
|
|
||||||
|
MAPREDUCE-6637. Testcase Failure : TestFileInputFormat.testSplitLocationInfo.
|
||||||
|
(Brahma Reddy Battula via wang)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
BUG FIXES
|
BUG FIXES
|
||||||
|
@ -243,7 +243,7 @@ public FileStatus[] listStatus(Path f, PathFilter filter)
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public BlockLocation[] getFileBlockLocations(Path p, long start, long len)
|
public BlockLocation[] getFileBlockLocations(FileStatus file, long start, long len)
|
||||||
throws IOException {
|
throws IOException {
|
||||||
return new BlockLocation[] {
|
return new BlockLocation[] {
|
||||||
new BlockLocation(new String[] { "localhost:50010", "otherhost:50010" },
|
new BlockLocation(new String[] { "localhost:50010", "otherhost:50010" },
|
||||||
|
@ -422,7 +422,7 @@ public FileStatus[] listStatus(Path f, PathFilter filter)
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public BlockLocation[] getFileBlockLocations(Path p, long start, long len)
|
public BlockLocation[] getFileBlockLocations(FileStatus file, long start, long len)
|
||||||
throws IOException {
|
throws IOException {
|
||||||
return new BlockLocation[] {
|
return new BlockLocation[] {
|
||||||
new BlockLocation(new String[] { "localhost:50010", "otherhost:50010" },
|
new BlockLocation(new String[] { "localhost:50010", "otherhost:50010" },
|
||||||
|
Loading…
Reference in New Issue
Block a user