Commit 909da96
[SPARK-41958][CORE] Disallow arbitrary custom classpath with proxy user in cluster mode
### What changes were proposed in this pull request?
This PR proposes to disallow arbitrary custom classpath with proxy user in cluster mode by default.
### Why are the changes needed?
To avoid arbitrary classpath in spark cluster.
### Does this PR introduce _any_ user-facing change?
Yes. User should reenable this feature by `spark.submit.proxyUser.allowCustomClasspathInClusterMode`.
### How was this patch tested?
Manually tested.
Closes #39474 from Ngone51/dev.
Lead-authored-by: Peter Toth <[email protected]>
Co-authored-by: Yi Wu <[email protected]>
Signed-off-by: Hyukjin Kwon <[email protected]>1 parent 51b709b commit 909da96
File tree
2 files changed
+22
-0
lines changed- core/src/main/scala/org/apache/spark
- deploy
- internal/config
2 files changed
+22
-0
lines changedLines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
306 | 306 | | |
307 | 307 | | |
308 | 308 | | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
309 | 313 | | |
310 | 314 | | |
311 | 315 | | |
| |||
887 | 891 | | |
888 | 892 | | |
889 | 893 | | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
890 | 901 | | |
891 | 902 | | |
892 | 903 | | |
| |||
940 | 951 | | |
941 | 952 | | |
942 | 953 | | |
| 954 | + | |
| 955 | + | |
| 956 | + | |
| 957 | + | |
943 | 958 | | |
944 | 959 | | |
945 | 960 | | |
| |||
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2461 | 2461 | | |
2462 | 2462 | | |
2463 | 2463 | | |
| 2464 | + | |
| 2465 | + | |
| 2466 | + | |
| 2467 | + | |
| 2468 | + | |
| 2469 | + | |
| 2470 | + | |
2464 | 2471 | | |
0 commit comments