Skip to content

Cherry-pick "[HUDI-9322] Optimizing performance for hoodie log files writing" #13181

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 21, 2025

Conversation

cshuo
Copy link
Contributor

@cshuo cshuo commented Apr 20, 2025

Change Logs

Cherry-pick "[HUDI-9322] Optimizing performance for hoodie log files writing"

Impact

Improve log writing performance, include regular write and metadata table write.

Risk level (write none, low medium or high below)

low

Documentation Update

Describe any necessary documentation update if there is any new feature, config, or user-facing change. If not, put "none".

  • The config description must be updated if new configs are added or the default value of the configs are changed
  • Any new feature or user-facing change requires updating the Hudi website. Please create a Jira ticket, attach the
    ticket number here and follow the instruction to make
    changes to the website.

Contributor's checklist

  • Read through contributor's guide
  • Change Logs and Impact were stated clearly
  • Adequate tests were added if applicable
  • CI passed

@github-actions github-actions bot added the size:L PR with lines of changes in (300, 1000] label Apr 20, 2025
@@ -34,7 +35,7 @@ public abstract class BaseAvroPayload implements Serializable {
/**
* Avro data extracted from the source converted to bytes.
*/
protected final byte[] recordBytes;
protected final ByteArrayOutputStream recordBytesStream;
Copy link
Contributor

Choose a reason for hiding this comment

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

Is ByteArrayOutputStream serializable?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

updated, ptal 🌹

@voonhous
Copy link
Member

I just did a cherrypick and forced pushed to release-1.0.2 branch so that the HEAD is at [HUDI-9322] Optimizing performance for hoodie log files writing (#13170) now.

@cshuo
Copy link
Contributor Author

cshuo commented Apr 21, 2025

I just did a cherrypick and forced pushed to release-1.0.2 branch so that the HEAD is at [HUDI-9322] Optimizing performance for hoodie log files writing (#13170) now.

Hey Voon, I didn't see this commit in release-1.0.2. Actually, some minor updating to the original commit is needed before picked to 1.0.2, I'll take the cherry-pick, and will update it soon.

@cshuo
Copy link
Contributor Author

cshuo commented Apr 21, 2025

The failure test seems flaky, and is unrelated with this PR.

image

@cshuo
Copy link
Contributor Author

cshuo commented Apr 21, 2025

@hudi-bot run azure

@hudi-bot
Copy link

CI report:

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

@danny0405
Copy link
Contributor

@danny0405 danny0405 merged commit c6dbd67 into apache:release-1.0.2 Apr 21, 2025
60 of 61 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-1.0.2 size:L PR with lines of changes in (300, 1000]
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants