Skip to content
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

[#1416] feat(spark): support custom hadoop config in client side #1417

Merged
merged 3 commits into from
Jan 8, 2024

Conversation

zuston
Copy link
Member

@zuston zuston commented Jan 4, 2024

What changes were proposed in this pull request?

support custom hadoop config in client side

Why are the changes needed?

It's necessary to support user specify custom hadoop config in client side for remote storage.

For #1416

Does this PR introduce any user-facing change?

Yes.
The prefix key of spark.rss.hadoop.* for Hadoop conf.
For Spark like that: spark.rss.hadoop.fs.defaultFS=hdfs://rbf-x1,
this will be as fs.defaultFS=hdfs://rbf-x1 for Hadoop storage

How was this patch tested?

UTs

@codecov-commenter
Copy link

codecov-commenter commented Jan 5, 2024

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (602611c) 53.23% compared to head (6c40488) 54.19%.
Report is 1 commits behind head on master.

Files Patch % Lines
...uniffle/shuffle/manager/RssShuffleManagerBase.java 71.42% 0 Missing and 2 partials ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1417      +/-   ##
============================================
+ Coverage     53.23%   54.19%   +0.95%     
- Complexity     2721     2725       +4     
============================================
  Files           419      399      -20     
  Lines         23982    21636    -2346     
  Branches       2045     2048       +3     
============================================
- Hits          12768    11725    -1043     
+ Misses        10427     9193    -1234     
+ Partials        787      718      -69     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@zuston zuston requested a review from jerqi January 5, 2024 02:59
Copy link
Contributor

@jerqi jerqi left a comment

Choose a reason for hiding this comment

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

LGTM, thanks @zuston

@zuston zuston merged commit 6663e26 into apache:master Jan 8, 2024
36 checks passed
zuston added a commit to zuston/incubator-uniffle that referenced this pull request Jan 18, 2024
apache#1417)

### What changes were proposed in this pull request?

support custom hadoop config in client side

### Why are the changes needed?

It's necessary to support user specify custom hadoop config in client side for remote storage.

For apache#1416 

### Does this PR introduce _any_ user-facing change?

Yes. 

The prefix key of `spark.rss.hadoop.*` for Hadoop conf. 
For Spark like that: `spark.rss.hadoop.fs.defaultFS=hdfs://rbf-x1`, 
this will be as `fs.defaultFS=hdfs://rbf-x1` for Hadoop storage

### How was this patch tested?

UTs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants