Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-23291

ProcedureStoreReader Tool

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: proc-v2, tooling
    • Labels:
      None

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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              stack Michael Stack
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated: