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

【Flink is having problems using the status expiration setting】

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

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Not A Bug
    • 1.14.3
    • None
    • None

    Description

      I am flink1.14.3 based version, the following problems when using the finish a Flink homework for the first time, add the TTL Settings, and then start the homework, automatic recovery at a particular time homework problems, the following error, specific see attachment pictures, eventually repair method is, in creating a state descriptor is to change the wording, As follows:

      • Before the error:
      public static final MapStateDescriptor<String, Integer> quantityJudgeStateDescriptor = new MapStateDescriptor<>(
              "quantityJudgeMapState",
              String.class,
              Integer.class); 
      • After the error is reported:
      public static final MapStateDescriptor<String, RateUnionVo> rateAlgorithmStateProperties = new MapStateDescriptor<>(
              "rateAlgorithmMapState",
              TypeInformation.of(new TypeHint<String>() {
              }),
              TypeInformation.of(new TypeHint<RateUnionVo>() {
              })
      ); 

      After changing this way of writing, the test did not appear the above problem, do not know whether it is a bug problem, raise this problem, in order to trace the source.

       

      Attachments

        Activity

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

          People

            Unassigned Unassigned
            Jason_H Jason
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment