Revision 10249
Added by Jing Tao over 7 years ago
src/edu/ucsb/nceas/metacat/dataone/MNodeService.java | ||
---|---|---|
832 | 832 |
MNode mn = D1Client.getMN(sourceNode); |
833 | 833 |
object = mn.getReplica(thisNodeSession, pid); |
834 | 834 |
} else { |
835 |
throw new ServiceFailure("2151", "The version of MNRead service is "+nodeVersion+" in the source node "+sourceNode.getValue()+" and it is supported. Please check the information in the cn"); |
|
835 |
throw new ServiceFailure("2151", "The version of MNRead service is "+nodeVersion+" in the source node "+sourceNode.getValue()+" and it is not supported. Please check the information in the cn");
|
|
836 | 836 |
} |
837 | 837 |
|
838 | 838 |
logMetacat.info("MNodeService.getReplica() called for identifier " |
... | ... | |
881 | 881 |
} |
882 | 882 |
|
883 | 883 |
// verify checksum on the object, if supported |
884 |
logMetacat.info("MNodeService.replicate - the class of object inputstream is "+object.getClass().getCanonicalName()+". Does it support the reset method? The answer is "+object.markSupported()); |
|
884 | 885 |
if (object.markSupported()) { |
885 | 886 |
Checksum givenChecksum = sysmeta.getChecksum(); |
886 | 887 |
Checksum computedChecksum = null; |
Also available in: Unified diff
Add some debug information.