Skip to content

Conversation

@yihua
Copy link
Contributor

@yihua yihua commented Mar 23, 2022

What is the purpose of the pull request

This PR makes ZookeeperBasedLockProvider serializable so that clean action does not complain about Task not serializable due to ZookeeperBasedLockProvider or CuratorFramework.

Brief change log

As above.

Verify this pull request

This PR is verified by running deltastreamer continuous mode writing to a COW table, with async clustering and cleaner enabled, using ZooKeeper as the lock provider. Before this change, the job encounters Task not serializable exception. After this change, the job proceeds without any issue.

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.

@yihua yihua added the priority:blocker Production down; release blocker label Mar 23, 2022
@yihua yihua force-pushed the HUDI-3638-serializable-zk-lock branch from 453b745 to f20c755 Compare March 24, 2022 21:47
@yihua yihua force-pushed the HUDI-3638-serializable-zk-lock branch from f20c755 to 28b0906 Compare March 24, 2022 21:47
@nsivabalan nsivabalan self-assigned this Mar 24, 2022
@yihua yihua changed the title [WIP][HUDI-3638] Make ZookeeperBasedLockProvider serializable [HUDI-3638] Make ZookeeperBasedLockProvider serializable Mar 25, 2022
@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

@yihua yihua merged commit 608d4bf into apache:master Mar 25, 2022
vingov pushed a commit to vingov/hudi that referenced this pull request Apr 3, 2022
stayrascal pushed a commit to stayrascal/hudi that referenced this pull request Apr 12, 2022
@Gatsby-Lee
Copy link
Contributor

@yihua Thank you for the fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority:blocker Production down; release blocker

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants