Open torvalds-dev-testbot[bot] opened 3 months ago
Hello! 👋 Please wait while I search the knowledge base for an answer; this usually takes about 30 seconds
Follow-up questions:
Sources:
Follow-up questions:
Sources:
Hello! 👋 Please wait while I generate the follow up questions; this usually takes about 30 seconds
Sources:
Sources:
Ticket created successfully. Here is the link to the GitHub issue: https://github.com/numberlabs-developers/hudi/issues/248
Hello! :wave: Please wait while I generate the follow up questions; this usually takes about 30 seconds
Based on the documentation snippets:
Apache Hudi has multi-writer support, allowing two writers to concurrently write to Hudi and commit as long as they update different sets of data without causing table corruption (https://medium.com/@simpsons/multi-writer-support-with-apache-hudi-e1b75dca29e6>).
Hudi employs Optimistic Concurrency Control (OCC) where conflicting writes to the same data will result in one succeeding and the other aborting (https://medium.com/@simpsons/multi-writer-support-with-apache-hudi-e1b75dca29e6).
Concurrent writers updating overlapping data may lead to conflicts, with only one succeeding while another aborts (https://medium.com/@simpsons/multi-writer-support-with-apache-hudi-e1b75dca29e6).
Multi-writing through Hudi Streamer requires adding specific configurations for optimistic concurrency control in the properties file (<http://httpshudi.apache.org/docs/concurrency_control).
Based on the above information, if two DeltaStreamers are running for the same target table and attempt to concurrently write to overlapping file groups, one of them will succeed while the other will fail due to conflict resolution mechanisms in place. Hence, this won't result in table corruption, but instead, conflicting operations will be handled, ensuring the integrity of the data being written. :large_blue_square: Confidence Score: 93.46% :loudspeaker: Publish Answer button >torvalds.dev is learning and improving. React below to provide feedback! :+1: 0 button :-1: 0 button Submit button, with interactive elements
Tips before filing an issue
Have you gone through our FAQs?
Join the mailing list to engage in conversations and get faster support at dev-subscribe@hudi.apache.org.
If you have triaged this as a bug, then file an issue directly.
Describe the problem you faced A clear and concise description of the problem.
To Reproduce Steps to reproduce the behavior: 1. 2. 3. 4.
Expected behavior A clear and concise description of what you expected to happen.
Environment Description
Additional context Add any other context about the problem here.
Stacktrace Add the stacktrace of the error.