Michael Stack created HBASE-23291:
-------------------------------------

             Summary: ProcedureStoreReader Tool
                 Key: HBASE-23291
                 URL: https://issues.apache.org/jira/browse/HBASE-23291
             Project: HBase
          Issue Type: New Feature
          Components: proc-v2, tooling
            Reporter: Michael Stack


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....



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to