Skip to content

[HUDI-6645] Relax the restriction for Spark MDT rollback#9364

Closed
xuzifu666 wants to merge 4 commits intoapache:masterfrom
xuzifu666:relax_spark_mdt
Closed

[HUDI-6645] Relax the restriction for Spark MDT rollback#9364
xuzifu666 wants to merge 4 commits intoapache:masterfrom
xuzifu666:relax_spark_mdt

Conversation

@xuzifu666
Copy link
Member

Change Logs

Describe context and summary for this change. Highlight if any code was copied.
none

Impact

Describe any public API or user-facing feature change or any performance impact.
Relax the restriction for Spark MDT rollback

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

If medium or high, explain what verification was done to mitigate the risks.
none

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

@xuzifu666
Copy link
Member Author

cc @danny0405 have a review plz

@danny0405 danny0405 added engine:spark Spark integration metadata release-0.14.0 priority:blocker Production down; release blocker labels Aug 4, 2023
@hudi-bot
Copy link
Collaborator

hudi-bot commented Aug 4, 2023

CI report:

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

}
}

protected void validateRollback(
Copy link
Contributor

Choose a reason for hiding this comment

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

Why should this be relaxed? Does not look safe for Spark.

Copy link
Member Author

Choose a reason for hiding this comment

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

this change need for compation with spark , otherwise would report error @yihua

Copy link
Contributor

Choose a reason for hiding this comment

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

Why should this be relaxed? Does not look safe for Spark.

It should be safe now, because the MDT log reader can filter out invalid commits based on DT timeline, we need to do this, because Flink has relax the compaction now, if people uses Spark to write into Flink table, then the error throws.

Another choice is to disable the MDT for Flink again, I don't think MDT is production ready for long running MOR job.

@xuzifu666 xuzifu666 closed this Aug 5, 2023
@xuzifu666 xuzifu666 reopened this Aug 5, 2023
@codope codope added priority:critical Production degraded; pipelines stalled release-0.14.1 and removed priority:blocker Production down; release blocker release-0.14.0 labels Aug 10, 2023
@github-actions github-actions bot added the size:S PR with lines of changes in (10, 100] label Feb 26, 2024
@xuzifu666 xuzifu666 closed this Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

engine:spark Spark integration priority:critical Production degraded; pipelines stalled release-0.14.1 size:S PR with lines of changes in (10, 100]

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

5 participants