Skip to content

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

Merged
zuston merged 3 commits into
apache:masterfrom
zuston:issue-1416
Jan 8, 2024
Merged

[#1416] feat(spark): support custom hadoop config in client side#1417
zuston merged 3 commits into
apache:masterfrom
zuston:issue-1416

Conversation

@zuston

@zuston zuston commented Jan 4, 2024

Copy link
Copy Markdown
Member

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

codecov-commenter commented Jan 5, 2024

Copy link
Copy Markdown

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 roryqi January 5, 2024 02:59

@roryqi roryqi left a comment

Copy link
Copy Markdown
Contributor

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
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