Skip to content

[HUDI-9311] Revert HUDI-7146 which causes perf overhead for merging MDT log files #13136

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 4 commits into from
Apr 14, 2025

Conversation

nsivabalan
Copy link
Contributor

@nsivabalan nsivabalan commented Apr 11, 2025

Change Logs

We added support for duplicate entries in hfile to support secondary index #10617 here. But after lot of brainstorming sessions, design of SI evolved and duplicate entries is not a requirement. So, reverting the patch to avoid the perf overhead for now. May be, if we end up adding a new MDT index which might require duplicate keys, we can bring it back w/o causing much perf overhead.

Impact

Fixes the perf regression with spark sql writes.

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 11, 2025
@danny0405 danny0405 changed the title [DNM] Revert HUDI-7147 [DNM] Revert HUDI-7146 Apr 12, 2025
@nsivabalan nsivabalan changed the title [DNM] Revert HUDI-7146 [HUDI-9310] Revert HUDI-7146 which causes perf regression for spark-sql writes Apr 13, 2025
@nsivabalan nsivabalan changed the title [HUDI-9310] Revert HUDI-7146 which causes perf regression for spark-sql writes [HUDI-9310] Revert HUDI-7146 which causes perf overhead for merging MDT log files Apr 13, 2025
@nsivabalan nsivabalan changed the title [HUDI-9310] Revert HUDI-7146 which causes perf overhead for merging MDT log files [HUDI-9311] Revert HUDI-7146 which causes perf overhead for merging MDT log files Apr 13, 2025
@nsivabalan
Copy link
Contributor Author

@the-other-tim-brown : addressed the feedback

@nsivabalan
Copy link
Contributor Author

@the-other-tim-brown @danny0405 : addressed all feedback

@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 danny0405 merged commit d2ea523 into apache:master Apr 14, 2025
60 checks passed
voonhous pushed a commit to voonhous/hudi that referenced this pull request Apr 15, 2025
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