-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/26/
-----------------------------------------------------------

Review request for hadoop-common.


Summary
-------

Add boolean field isCorrupt to BlockLocation

This is needed to allow DFSClient.getBlockLocations to notify the calling 
application when returning a BlockLocation that corresponds to a corrupt block. 
Currently, this happens when there are no uncorrupted replicas of a requested 
block.


This addresses bug HADOOP-7013.
    https://issues.apache.org/jira/browse/HADOOP-7013


Diffs
-----

  
http://svn.apache.org/repos/asf/hadoop/common/trunk/src/java/org/apache/hadoop/fs/BlockLocation.java
 1030319 

Diff: https://reviews.apache.org/r/26/diff


Testing
-------


Thanks,

Patrick

Reply via email to