Implement RemoteIterator<LocatedFileStatus> listLocatedStatus(Path f) in AbstractFileSystem

Description

In current client implementation, RemoteIterator<LocatedFileStatus> listLocatedStatus(Path f) is not implemented, the default implementation makes RPC call when iterating every single file under Path f. This could be optimized if fetching in batches, like what current HDFS implementation does. (http://grepcode.com/file/repo1.maven.org/maven2/org.apache.hadoop/hadoop-hdfs/2.4.1/org/apache/hadoop/hdfs/DistributedFileSystem.java#723)

Environment

None

Status

Assignee

Lu Niu

Reporter

Lu Niu

Labels

None

Components

Affects versions

1.6.0

Priority

Major
Configure