Skip to content

Conversation

@nsivabalan
Copy link
Contributor

Change Logs

Avg record size calculation only considers COMMIT actions for now. Fixing it to include replace commits and delta commits as well.

Impact

Fixing avg record size estimation for delta commits and replace commits.

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

  • 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 Feb 28, 2024
Copy link
Contributor

@bvaradar bvaradar left a comment

Choose a reason for hiding this comment

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

LGTM.

@yihua yihua force-pushed the avgRecSizeEstimate branch from 95411f5 to 34711f0 Compare May 3, 2024 02:21
@nsivabalan nsivabalan force-pushed the avgRecSizeEstimate branch 2 times, most recently from 9a575fe to 34ffbbc Compare May 9, 2024 21:09
@yihua yihua force-pushed the avgRecSizeEstimate branch from 34ffbbc to 6a4b837 Compare May 11, 2024 00:19
@yihua yihua force-pushed the avgRecSizeEstimate branch from 6a4b837 to 233ebc6 Compare May 13, 2024 19:23
@yihua yihua assigned yihua, jonvex and codope and unassigned yihua May 14, 2024
@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 c8dec0e into apache:master May 14, 2024
yihua added a commit that referenced this pull request May 15, 2024
…10763)

Co-authored-by: Y Ethan Guo <[email protected]>
Co-authored-by: Jonathan Vexler <=>
yihua added a commit that referenced this pull request May 15, 2024
…10763)

Co-authored-by: Y Ethan Guo <[email protected]>
Co-authored-by: Jonathan Vexler <=>
yihua added a commit that referenced this pull request May 15, 2024
…10763)

Co-authored-by: Y Ethan Guo <[email protected]>
Co-authored-by: Jonathan Vexler <=>
@haoxie-aws
Copy link

Hello, replacecommit is excluded from average record size estimation because it has higher compression ratio and can make the average record size underestimated for commits which then cause out of memory issue. Ref: #5939 and #6864.

Is there a reason why we think including replacecommit in the estimation is safe now?

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

Labels

release-0.15.0 size:L PR with lines of changes in (300, 1000]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants