Skip to content

[VL] Plumb ABFS config#8403

Merged
zhli1142015 merged 3 commits intoapache:mainfrom
majetideepak:fix-abfs
Jan 4, 2025
Merged

[VL] Plumb ABFS config#8403
zhli1142015 merged 3 commits intoapache:mainfrom
majetideepak:fix-abfs

Conversation

@majetideepak
Copy link
Collaborator

What changes were proposed in this pull request?

Velox added new authentication mechanisms for ABFS: facebookincubator/velox#11623
We need to plumb these configs.

How was this patch tested?

ABFS is not enabled in CI. Tested locally on a branch majetideepak@2ed4786

@github-actions github-actions bot added the VELOX label Jan 2, 2025
@github-actions
Copy link

github-actions bot commented Jan 2, 2025

Thanks for opening a pull request!

Could you open an issue for this pull request on Github Issues?

https://github.com/apache/incubator-gluten/issues

Then could you also rename commit message and pull request title in the following format?

[GLUTEN-${ISSUES_ID}][COMPONENT]feat/fix: ${detailed message}

See also:

std::string_view kSparkHadoopAbfsPrefix = "spark.hadoop.fs.azure.";
std::string_view kAbfsPrefix = "fs.azure.";
for (const auto& [key, value] : conf->rawConfigs()) {
if (key.find(kAbfsPrefix) == 0) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's always use prefix spark.hadoop.fs.azure. in Gluten to align with Spark's configuration.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

done!

@FelixYBW
Copy link
Contributor

FelixYBW commented Jan 2, 2025

@zhli1142015 Can you take a look? would you like to add the abfs configurations to Gluten's doc or reuse the Velox one? Does Velox support all the abfs configurations in Spark now?

#ifdef ENABLE_ABFS
std::string_view kSparkHadoopPrefix = "spark.hadoop.";
std::string_view kSparkHadoopAbfsPrefix = "spark.hadoop.fs.azure.";
for (const auto& [key, value] : conf->rawConfigs()) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@zhli1142015 done! I missed this. Thanks.

@github-actions github-actions bot added the CORE works for Gluten Core label Jan 3, 2025
@github-actions
Copy link

github-actions bot commented Jan 3, 2025

Run Gluten Clickhouse CI on x86

Copy link
Contributor

@zhli1142015 zhli1142015 left a comment

Choose a reason for hiding this comment

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

Thanks for your change.

@zhli1142015 zhli1142015 merged commit d63bb7a into apache:main Jan 4, 2025
@majetideepak majetideepak deleted the fix-abfs branch January 7, 2025 04:16
zhouyuan pushed a commit that referenced this pull request Mar 2, 2026
…11675)

facebookincubator/velox#11623 and #8403 added support for SharedKey, SAS, and OAuth ABFS access mechanisms. Updating the doc to reflect this.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CORE works for Gluten Core VELOX

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants