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

Deserialize StateBackend from JobCheckpointingSettings with user classloader

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      A user ran into the problem that the SubmitJob message is not (de)serialisable if it contains custom RocksDB options (or a custom state backend): [1]

      The problem is that SubmitJob contains a JobGraph which contains JobCheckpointingSettings which contains a StateBackend. This StateBackend potentially has user code and therefore can only be deserialised with the user classloader.

      This issue is mostly identical to FLINK-6531.

      [1] https://lists.apache.org/thread.html/69bb573787258ab34c3dc56ac155052f099d75e62d805f463bde5621@%3Cuser.flink.apache.org%3E

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            aljoscha Aljoscha Krettek
            aljoscha Aljoscha Krettek
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment