Skip to content

Conversation

@scxwhite
Copy link
Contributor

@scxwhite scxwhite commented Feb 24, 2022

Tips

What is the purpose of the pull request

When we start multiple hudi jobs in a sparkSession, or cache some rdds before a hudi job starts, SparkRDDWriteClient#releaseResources will release all persistent rdds, causing spark to recalculate.
So I think we should add the switch of whether to release all rdds.

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.

@nsivabalan nsivabalan changed the title rdd unpersist optimization [HUDI-3515] Making rdd unpersist optional at the end of writes Feb 25, 2022
@nsivabalan nsivabalan self-assigned this Feb 25, 2022
Copy link
Contributor

@nsivabalan nsivabalan left a comment

Choose a reason for hiding this comment

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

LGTM. one minor comment

@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

@scxwhite
Copy link
Contributor Author

@nsivabalan please review again.

@nsivabalan nsivabalan merged commit 92cdc59 into apache:master Feb 25, 2022
@nsivabalan
Copy link
Contributor

thanks for your contribution!

@xushiyan xushiyan added status:triaged Issue has been reviewed and categorized priority:high Significant impact; potential bugs engine:spark Spark integration writer-core labels Feb 27, 2022
vingov pushed a commit to vingov/hudi that referenced this pull request Apr 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

engine:spark Spark integration priority:high Significant impact; potential bugs status:triaged Issue has been reviewed and categorized

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants