Skip to content

Conversation

@liujinhui1994
Copy link
Contributor

@liujinhui1994 liujinhui1994 commented Jul 22, 2022

Tips

What is the purpose of the pull request

Previously, we obtained the lastCommitTime from the hive metadata, and then obtained the partition. But partitions can be lost across multiple writers.
Now, get the latest time from HoodieTimeLine, minus last_commit_time_sync

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.

@liujinhui1994 liujinhui1994 changed the title [HUDI-4451] Multiple writer using insert_overwrite loses some hive partitions [HUDI-4451] Multiple writer using loses some hive partitions Jul 22, 2022
@liujinhui1994
Copy link
Contributor Author

After the CI is passed, I will take a closer look to see if the unit tests are covered. If not, I will supplement the unit tests.

@liujinhui1994
Copy link
Contributor Author

@hudi-bot run azure

@liujinhui1994
Copy link
Contributor Author

@hudi-bot run azure

@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 added component:catalog-sync Catalog-sync related priority:critical Production degraded; pipelines stalled area:concurrency Concurrency control and multi-writer labels Sep 12, 2022
@xushiyan
Copy link
Member

@liujinhui1994 #6662 should cover this patch. closing this. please review the PR too, see if it solves your problem. thanks.

@xushiyan xushiyan closed this Sep 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:concurrency Concurrency control and multi-writer component:catalog-sync Catalog-sync related priority:critical Production degraded; pipelines stalled

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants