Commit a727f0c
committed
[SPARK-53992] Add
### What changes were proposed in this pull request?
This PR aims to add `SparkOperatorConfManager.getAll` method to get all configurations.
### Why are the changes needed?
Like Apache Spark `SparkConf.getAll` API, we had better support `getAll` API.
https://github.com/apache/spark/blob/0be5f96e7a7d1b9fb9f96f1914019f79ef973a25/core/src/main/scala/org/apache/spark/SparkConf.scala#L197
```scala
/** Get all parameters as a list of pairs */
def getAll: Array[(String, String)]
```
### Does this PR introduce _any_ user-facing change?
No because this is a new API.
### How was this patch tested?
Pass the CIs with newly added test case.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #402 from dongjoon-hyun/SPARK-53992.
Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>SparkOperatorConfManager.getAll method1 parent dc15e1b commit a727f0c
File tree
2 files changed
+52
-0
lines changed- spark-operator/src
- main/java/org/apache/spark/k8s/operator/config
- test/java/org/apache/spark/k8s/operator/config
2 files changed
+52
-0
lines changedLines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
63 | 78 | | |
64 | 79 | | |
65 | 80 | | |
| |||
Lines changed: 37 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
77 | 114 | | |
0 commit comments