org.apache.hadoop.hdfs.protocol
Class CorruptFileBlocks

java.lang.Object
  extended by org.apache.hadoop.hdfs.protocol.CorruptFileBlocks
All Implemented Interfaces:
org.apache.hadoop.io.Writable

public class CorruptFileBlocks
extends Object
implements org.apache.hadoop.io.Writable

Contains a list of paths corresponding to corrupt files and a cookie used for iterative calls to NameNode.listCorruptFileBlocks.


Constructor Summary
CorruptFileBlocks()
           
CorruptFileBlocks(String[] files, String cookie)
           
 
Method Summary
 boolean equals(Object obj)
          
 String getCookie()
           
 String[] getFiles()
           
 int hashCode()
          
 void readFields(DataInput in)
          
 void write(DataOutput out)
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CorruptFileBlocks

public CorruptFileBlocks()

CorruptFileBlocks

public CorruptFileBlocks(String[] files,
                         String cookie)
Method Detail

getFiles

public String[] getFiles()

getCookie

public String getCookie()

readFields

public void readFields(DataInput in)
                throws IOException

Specified by:
readFields in interface org.apache.hadoop.io.Writable
Throws:
IOException

write

public void write(DataOutput out)
           throws IOException

Specified by:
write in interface org.apache.hadoop.io.Writable
Throws:
IOException

equals

public boolean equals(Object obj)

Overrides:
equals in class Object

hashCode

public int hashCode()

Overrides:
hashCode in class Object


Copyright © 2013 Apache Software Foundation. All Rights Reserved.