Let's say an HDFS client starts writing a file A (which is 10 blocks long) and 5 blocks have been writen to datanodes.
At this time, if the HDFS client crashes (apparently without a close op), will we see 5 valid blocks for file A? Similary, at this time if the HDFS cluster crashes, will we see 5 valid blocks for file A? (I guess both answers are yes, but I'd have some confirmation :-) -- --Sean