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

[SPARK-33925][CORE] Remove unused SecurityManager in Utils.fetchFile #30945

Closed
wants to merge 1 commit into from

Conversation

HyukjinKwon
Copy link
Member

What changes were proposed in this pull request?

This is kind of a followup of #24033.
The first and last usage of that argument SecurityManager was removed in #24033.
After that, we don't need to pass SecurityManager anymore in Utils.fetchFile and related code paths.

This PR proposes to remove it out.

Why are the changes needed?

For better readability of codes.

Does this PR introduce any user-facing change?

No, dev-only.

How was this patch tested?

Manually complied. GitHub Actions and Jenkins build should test it out as well.

@github-actions github-actions bot added the CORE label Dec 28, 2020
@HyukjinKwon
Copy link
Member Author

cc @vanzin, @gaborgsomogyi, @skonto FYI

@SparkQA

This comment has been minimized.

@HyukjinKwon HyukjinKwon force-pushed the SPARK-33925 branch 3 times, most recently from 7339ba0 to 44404cd Compare December 28, 2020 09:44
@github-actions github-actions bot added the SQL label Dec 28, 2020
@SparkQA
Copy link

SparkQA commented Dec 28, 2020

Test build #133443 has finished for PR 30945 at commit 6153ec1.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

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

+1, LGTM. Thank you, @HyukjinKwon and @srowen .
Merged to master.

@HyukjinKwon
Copy link
Member Author

Thank you guys!

@gaborgsomogyi
Copy link
Contributor

Just gone through and late LGTM. Thanks for notifying.

dongjoon-hyun pushed a commit that referenced this pull request Feb 25, 2021
### What changes were proposed in this pull request?

This is kind of a followup of #24033 and #30945.
Many of references in `SecurityManager` were introduced from SPARK-1189, and related usages were removed later from #24033 and #30945. This PR proposes to remove them out.

### Why are the changes needed?

For better readability of codes.

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

No, dev-only.

### How was this patch tested?

Manually complied. GitHub Actions and Jenkins build should test it out as well.

Closes #31636 from HyukjinKwon/SPARK-34520.

Authored-by: HyukjinKwon <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
@HyukjinKwon HyukjinKwon deleted the SPARK-33925 branch January 4, 2022 00:55
agirish pushed a commit to HPEEzmeral/apache-spark that referenced this pull request May 5, 2022
### What changes were proposed in this pull request?

This is kind of a followup of apache#24033.
The first and last usage of that argument `SecurityManager` was removed in apache#24033.
After that,  we don't need to pass `SecurityManager` anymore in `Utils.fetchFile` and related code paths.

This PR proposes to remove it out.

### Why are the changes needed?

For better readability of codes.

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

No, dev-only.

### How was this patch tested?

Manually complied. GitHub Actions and Jenkins build should test it out as well.

Closes apache#30945 from HyukjinKwon/SPARK-33925.

Authored-by: HyukjinKwon <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>

(cherry picked from commit b33fa53)
udaynpusa pushed a commit to mapr/spark that referenced this pull request Jan 30, 2024
### What changes were proposed in this pull request?

This is kind of a followup of apache#24033.
The first and last usage of that argument `SecurityManager` was removed in apache#24033.
After that,  we don't need to pass `SecurityManager` anymore in `Utils.fetchFile` and related code paths.

This PR proposes to remove it out.

### Why are the changes needed?

For better readability of codes.

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

No, dev-only.

### How was this patch tested?

Manually complied. GitHub Actions and Jenkins build should test it out as well.

Closes apache#30945 from HyukjinKwon/SPARK-33925.

Authored-by: HyukjinKwon <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>

(cherry picked from commit b33fa53)
udaynpusa pushed a commit to mapr/spark that referenced this pull request Jan 30, 2024
### What changes were proposed in this pull request?

This is kind of a followup of apache#24033.
The first and last usage of that argument `SecurityManager` was removed in apache#24033.
After that,  we don't need to pass `SecurityManager` anymore in `Utils.fetchFile` and related code paths.

This PR proposes to remove it out.

### Why are the changes needed?

For better readability of codes.

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

No, dev-only.

### How was this patch tested?

Manually complied. GitHub Actions and Jenkins build should test it out as well.

Closes apache#30945 from HyukjinKwon/SPARK-33925.

Authored-by: HyukjinKwon <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>

(cherry picked from commit b33fa53)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants