The DiskChecker class has a few unused public methods. We can remove them.
DiskChecker should perform some disk IO
The v01 patch removes a number of unused methods and minimizes the public interface.
This message was automatically generated.
v02 patch addresses the checkstyle warning.
+1, LGTM. I will commit this shortly to trunk and branch-2. I had an off-line chat with Arpit Agarwal about the test that was removed in this patch. There are better tests that cover the same scenario in HADOOP-13738
Arpit Agarwal Thank you for the contribution. I have committed this to trunk and branch-2
SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #10649 (See https://builds.apache.org/job/Hadoop-trunk-Commit/10649/)
HADOOP-13737. Cleanup DiskChecker interface. Contributed by Arpit (aengineer: rev 262827cf75bf9c48cd95335eb04fd8ff1d64c538)
Thank you for reviewing and committing this Anu Engineer!
cherry-picked to branch-2.8.2 and branch-2.8