Skip to content

Conversation

@liufangqi
Copy link
Contributor

Tips

What is the purpose of the pull request

Now, HoodieFlinkStreamer utility only support one backend - FsStateBackend.

I think it's not flexible for the application configuration. Could we make backend configurable?

Moreover, for flink version 1.14, FsStateBackend is deprecated in favor of org.apache.flink.runtime.state.hashmap.HashMapStateBackend and org.apache.flink.runtime.state.storage.FileSystemCheckpointStorage.

Brief change log

(for example:)

  • Modify AnnotationLocation checkstyle rule in checkstyle.xml

Verify this pull request

(Please pick either of the following options)

This pull request is a trivial rework / code cleanup without any test coverage.

(or)

This pull request is already covered by existing tests, such as (please describe tests).

(or)

This change added tests and can be verified as follows:

(example:)

  • Added integration tests for end-to-end.
  • Added HoodieClientWriteTest to verify the change.
  • Manually verified the change by running a job locally.

Committer checklist

  • Has a corresponding JIRA in PR title & commit

  • Commit message is descriptive of the change

  • CI is green

  • Necessary doc changes done or have another open PR

  • For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

Copy link
Contributor

@wangxianghu wangxianghu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @liufangqi, thanks for your contribution, this patch LGTM overall
left two minor comments you can consider

@wangxianghu wangxianghu self-assigned this Mar 15, 2022
@nsivabalan nsivabalan added engine:flink Flink integration priority:high Significant impact; potential bugs labels Mar 15, 2022
@liufangqi
Copy link
Contributor Author

@wangxianghu THX for your review. I think it's a good advice for the description and the exception msg. Updated the code in the new commit. Could you help to review it again when you are free?

@liufangqi liufangqi requested a review from wangxianghu March 16, 2022 03:25
@hudi-bot
Copy link
Collaborator

CI report:

Bot commands @hudi-bot supports the following commands:
  • @hudi-bot run azure re-run the last Azure build

Copy link
Contributor

@wangxianghu wangxianghu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@wangxianghu wangxianghu merged commit 91849c3 into apache:master Mar 16, 2022
vingov pushed a commit to vingov/hudi that referenced this pull request Apr 3, 2022
* [HUDI-3607] Support backend switch in HoodieFlinkStreamer

* [HUDI-3607] Support backend switch in HoodieFlinkStreamer
1. checkstyle fix

* [HUDI-3607] Support backend switch in HoodieFlinkStreamer
1. change the msg
stayrascal pushed a commit to stayrascal/hudi that referenced this pull request Apr 12, 2022
* [HUDI-3607] Support backend switch in HoodieFlinkStreamer

* [HUDI-3607] Support backend switch in HoodieFlinkStreamer
1. checkstyle fix

* [HUDI-3607] Support backend switch in HoodieFlinkStreamer
1. change the msg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

engine:flink Flink integration priority:high Significant impact; potential bugs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants