HADOOP-7165. listLocatedStatus(path, filter) is not redefined in FilterFs. Contributed by Hairong Kuang
This commit is contained in:
parent
7a7960be41
commit
c4bd2cdded
|
@ -635,6 +635,9 @@ Release 2.8.0 - UNRELEASED
|
||||||
HADOOP-10356. Corrections in winutils/chmod.c. (Rene Nyffenegger via
|
HADOOP-10356. Corrections in winutils/chmod.c. (Rene Nyffenegger via
|
||||||
Arpit Agarwal)
|
Arpit Agarwal)
|
||||||
|
|
||||||
|
HADOOP-7165. listLocatedStatus(path, filter) is not redefined in FilterFs
|
||||||
|
(Hairong Kuang via jlowe)
|
||||||
|
|
||||||
Release 2.7.1 - UNRELEASED
|
Release 2.7.1 - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -193,6 +193,14 @@ public class FilterFileSystem extends FileSystem {
|
||||||
flags, bufferSize, replication, blockSize, progress, checksumOpt);
|
flags, bufferSize, replication, blockSize, progress, checksumOpt);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected RemoteIterator<LocatedFileStatus> listLocatedStatus(final Path f,
|
||||||
|
final PathFilter filter)
|
||||||
|
throws FileNotFoundException, IOException {
|
||||||
|
return fs.listLocatedStatus(f, filter);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public FSDataOutputStream createNonRecursive(Path f, FsPermission permission,
|
public FSDataOutputStream createNonRecursive(Path f, FsPermission permission,
|
||||||
|
|
|
@ -184,6 +184,14 @@ public abstract class FilterFs extends AbstractFileSystem {
|
||||||
return myFs.listStatus(f);
|
return myFs.listStatus(f);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RemoteIterator<LocatedFileStatus> listLocatedStatus(final Path f)
|
||||||
|
throws AccessControlException, FileNotFoundException,
|
||||||
|
UnresolvedLinkException, IOException {
|
||||||
|
checkPath(f);
|
||||||
|
return myFs.listLocatedStatus(f);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public RemoteIterator<Path> listCorruptFileBlocks(Path path)
|
public RemoteIterator<Path> listCorruptFileBlocks(Path path)
|
||||||
throws IOException {
|
throws IOException {
|
||||||
|
|
Loading…
Reference in New Issue