HADOOP-12016. Typo in FileSystem::listStatusIterator. Contributed by Arthur Vigil.
This commit is contained in:
parent
4513761869
commit
4fc942a84f
|
@ -218,6 +218,9 @@ Trunk (Unreleased)
|
||||||
HADOOP-10993. Dump java command line to *.out file
|
HADOOP-10993. Dump java command line to *.out file
|
||||||
(Kengo Seki via vinayakumarb)
|
(Kengo Seki via vinayakumarb)
|
||||||
|
|
||||||
|
HADOOP-12016. Typo in FileSystem::listStatusIterator
|
||||||
|
(Arthur Vigil via jghoman)
|
||||||
|
|
||||||
BUG FIXES
|
BUG FIXES
|
||||||
|
|
||||||
HADOOP-11473. test-patch says "-1 overall" even when all checks are +1
|
HADOOP-11473. test-patch says "-1 overall" even when all checks are +1
|
||||||
|
|
|
@ -1720,7 +1720,7 @@ public abstract class FileSystem extends Configured implements Closeable {
|
||||||
@Override
|
@Override
|
||||||
public LocatedFileStatus next() throws IOException {
|
public LocatedFileStatus next() throws IOException {
|
||||||
if (!hasNext()) {
|
if (!hasNext()) {
|
||||||
throw new NoSuchElementException("No more entry in " + f);
|
throw new NoSuchElementException("No more entries in " + f);
|
||||||
}
|
}
|
||||||
FileStatus result = stats[i++];
|
FileStatus result = stats[i++];
|
||||||
BlockLocation[] locs = result.isFile() ?
|
BlockLocation[] locs = result.isFile() ?
|
||||||
|
|
Loading…
Reference in New Issue