Uploaded image for project: 'Samza'
  1. Samza
  2. SAMZA-598

Provide a tool to debug state stores

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.0
    • Fix Version/s: 0.10.0
    • Component/s: kv
    • Labels:
      None

      Description

      There is currently no easy way to debug a Samza job when there are problems with the state store data. It would be nice to provide a tool that will:

      1. Connect to a local KV state store, and dump its content.
      2. Consume a changelog to and materialize a state store locally.

      Optionally, it would be nice to allow users to fetch values for a give key via a REPL. This is a little tricky, though, since the key might be serialized in Protobu, Avro, etc.

      Between 1-2, users will be able to inspect local stores of jobs that are running (1), and create a local copy of a state store for jobs that have lost their local state already (2).

        Attachments

          Issue Links

          There are no Sub-Tasks for this issue.

            Activity

              People

              • Assignee:
                closeuris Yan Fang
                Reporter:
                criccomini Chris Riccomini
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: