Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-6565

Improve error messages for state restore failures

    Details

      Description

      The error messages thrown when state restore fails needs to be more explicit and clear of the actual reason.

      At least 2 cases we've seen so far:

      1.
      For example, currently, when restoring an operator state or memory-backed keyed state, the previous serializer must exist. If it doesn't exist, currently only a vague NPE is thrown, without a clear message of the actual reason.

      2.
      If the restore failure was due to an incompatible version of a serializer's config snapshot, then it should report something more informative then: "Incompatible version: found 1, required 1."

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tzulitai Tzu-Li (Gordon) Tai
                Reporter:
                tzulitai Tzu-Li (Gordon) Tai
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: