-
Notifications
You must be signed in to change notification settings - Fork 2.5k
[HUDI-5209] Fixing QueueBasedExecutor in Spark bundles (missing Disruptor as dep)
#7188
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
Conversation
|
@xushiyan PTAL |
b155aa8 to
9edd3b3
Compare
QueueBasedExecutor in Spark bundles (missing Disruptor as dep)
| <include>org.antlr:stringtemplate</include> | ||
| <include>org.apache.parquet:parquet-avro</include> | ||
|
|
||
| <include>com.lmax:disruptor</include> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't we want to shade this lib? it's purely internal right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we need to shade it, it's unlikely other engines will be using it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let me add an open question in bundle standards, where we need to put out some guideline for shading
| <include>org.antlr:stringtemplate</include> | ||
| <include>org.apache.parquet:parquet-avro</include> | ||
|
|
||
| <include>com.lmax:disruptor</include> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
QueueBasedExecutor in Spark bundles (missing Disruptor as dep)QueueBasedExecutor in Spark bundles (missing Disruptor as dep)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't we need it for flink-bundle, kafka-connect-bundle?
|
@nsivabalan it's not supported for either of them currently (only wired in |
Change Logs
In #5416, we added new
DisruptorExecutorrelying on LMAX Disruptor in lieu ofBoundedInMemoryQueuefor queueing records.However following things were missed during review:
QueueBasedExecutorFactoryintoHoodieMergeHelper(as well as others)This PR rectifies these issues.
Impact
Low
Risk level (write none, low medium or high below)
Low
Documentation Update
N/A
Contributor's checklist