Skip to content

[HUDI-8776] Support inline path from SparkBroadcastManager#12501

Merged
jonvex merged 4 commits intoapache:masterfrom
linliu-code:ENG-18710
Dec 18, 2024
Merged

[HUDI-8776] Support inline path from SparkBroadcastManager#12501
jonvex merged 4 commits intoapache:masterfrom
linliu-code:ENG-18710

Conversation

@linliu-code
Copy link
Collaborator

Change Logs

Add InlineFs related configurations for broadcast

Impact

Support inlineFs

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. If not, put "none".

  • 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:XS PR with lines of changes in <= 10 label Dec 17, 2024
configurationBroadcast = jsc.broadcast(new SerializableConfiguration(hadoopConf));

StorageConfiguration<Configuration> config = new HadoopStorageConfiguration(hadoopConf).getInline();
configurationBroadcast = jsc.broadcast(new SerializableConfiguration(config.unwrap()));
Copy link
Contributor

Choose a reason for hiding this comment

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

do we have some test for it.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Added one.

@github-actions github-actions bot added size:S PR with lines of changes in (10, 100] and removed size:XS PR with lines of changes in <= 10 labels Dec 17, 2024
return Option.of(configurationBroadcast.getValue().value());
}

static Configuration getStorageConfiguration(Configuration configuration) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we change this name to "setSparkSqlConfigurations"?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I think it should be hadoopConfiguration based on jsc function. let me name it to hadoopConfiguration.

@linliu-code linliu-code requested a review from jonvex December 18, 2024 00:38
@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

Copy link
Contributor

@jonvex jonvex left a comment

Choose a reason for hiding this comment

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

looks good to me

@jonvex jonvex merged commit a8885a5 into apache:master Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S PR with lines of changes in (10, 100]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants