public class CorruptFileBlockIterator extends Object implements org.apache.hadoop.fs.RemoteIterator<org.apache.hadoop.fs.Path>
| Constructor and Description |
|---|
CorruptFileBlockIterator(org.apache.hadoop.hdfs.DFSClient dfs,
org.apache.hadoop.fs.Path path) |
public CorruptFileBlockIterator(org.apache.hadoop.hdfs.DFSClient dfs, org.apache.hadoop.fs.Path path) throws IOException
IOExceptionpublic int getCallsMade()
public boolean hasNext()
hasNext in interface org.apache.hadoop.fs.RemoteIterator<org.apache.hadoop.fs.Path>public org.apache.hadoop.fs.Path next() throws IOException
next in interface org.apache.hadoop.fs.RemoteIterator<org.apache.hadoop.fs.Path>IOExceptionCopyright © 2014 Apache Software Foundation. All Rights Reserved.