Skip to content

[HUDI-5540] Close write client after usage of DeleteMarker/RollbackTo…#7655

Merged
leesf merged 2 commits intoapache:masterfrom
stream2000:close_write_client_for_some_call_procedure
Feb 1, 2023
Merged

[HUDI-5540] Close write client after usage of DeleteMarker/RollbackTo…#7655
leesf merged 2 commits intoapache:masterfrom
stream2000:close_write_client_for_some_call_procedure

Conversation

@stream2000
Copy link
Copy Markdown
Contributor

@stream2000 stream2000 commented Jan 12, 2023

…InstantTime/RunClean/RunCompactionProcedure

Change Logs

Close SparkRDDWriteClient after usage of DeleteMarker/RollbackToInstantTime/RunClean/RunCompactionProcedure so that the sparksql process can exit correctly

Impact

the sparksql process can exit correctly

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

None

Documentation Update

None

Contributor's checklist

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

…InstantTime/RunClean/RunCompactionProcedure
@stream2000
Copy link
Copy Markdown
Contributor Author

@hudi-bot run azure

@@ -60,6 +62,9 @@ class DeleteMarkerProcedure extends BaseProcedure with ProcedureBuilder with Log
true
case Failure(e) =>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

if success the client will not be closed?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

fixed and closed the write client in both success and exception scenarios

@hudi-bot
Copy link
Copy Markdown
Collaborator

CI report:

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

@leesf leesf merged commit 255d40c into apache:master Feb 1, 2023
yihua pushed a commit that referenced this pull request Feb 2, 2023
@yihua yihua added priority:blocker Production down; release blocker area:sql SQL interfaces labels Feb 5, 2023
fengjian428 pushed a commit to fengjian428/hudi that referenced this pull request Apr 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:sql SQL interfaces priority:blocker Production down; release blocker

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants