return the reason about corrupted replica for a given block on a given dn concode_field_sep Map<Block,Map<DatanodeDescriptor,Reason>> corruptReplicasMap concode_field_sep Collection<DatanodeDescriptor> getNodes concode_elem_sep int size concode_elem_sep void addToCorruptReplicasMap concode_elem_sep int numCorruptReplicas concode_elem_sep boolean isReplicaCorrupt concode_elem_sep void removeFromCorruptReplicasMap concode_elem_sep boolean removeFromCorruptReplicasMap concode_elem_sep boolean removeFromCorruptReplicasMap concode_elem_sep long[] getCorruptReplicaBlockIdsForTesting
String function ( Block arg0 , DatanodeDescriptor arg1 ) { Reason loc0 = null ; if ( corruptReplicasMap . containsKey ( arg0 ) ) { if ( corruptReplicasMap . get ( arg0 ) . containsKey ( arg1 ) ) { loc0 = corruptReplicasMap . get ( arg0 ) . get ( arg1 ) ; } } if ( loc0 != null ) { return loc0 . toString ( ) ; } else { return null ; } }