Thanks Uma for the great comments!
Why do you think we need 2 abstract classes here?
Ah right now we do just need one abstract class for the refactoring. The other can be introduced later in
HDFS-9694 when it's really needed.
Could you please add doc for this class?
Sure for this and the other similar comments. I will add javadoc for the new class and public/protected methods.
How does this class related?
Oh, CorruptedBlocks was from the work in
HDFS-9734. I will do the cleanup when update the patch.