Description
Need a tool to read a MasterProcWALs directory and dump out debug and status per log file, outstanding edits, etc.
In UI, under 'Procedures and Locks' tab we can see list of outstanding pv2 WALs. There is even a tab which allows you see if a file is corrupt. Even still, sometimes WALs persist and are not cleaned up. Why is opaque. A tool which read the directory and perhaps dumped out problematic procedures would be of use.
I tried to start one but it is a little awkward as any such tool would depend on hbase-server (if it the default WALProcedureStore implementation) so the tool would have to be in hbase-server or downstream from it. Let me attach what I have so far which currently lives in hbase-examples... which is wrong place for it. More work to do....