Commit e62697f
### What changes were proposed in this pull request?
Pure refactor, move method `nameForAppAndAttempt` from `EventLogFileWriter` to `o.a.s.u.Utils`.
### Why are the changes needed?
The method could be reused in several other places, e.g. #49440
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Pass GHA.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #49476 from pan3793/SPARK-50805.
Authored-by: Cheng Pan <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
1 parent 8858a4c commit e62697f
File tree
2 files changed
+10
-6
lines changed- core/src/main/scala/org/apache/spark
- deploy/history
- util
2 files changed
+10
-6
lines changedLines changed: 1 addition & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
| 190 | + | |
196 | 191 | | |
197 | 192 | | |
198 | 193 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2954 | 2954 | | |
2955 | 2955 | | |
2956 | 2956 | | |
| 2957 | + | |
| 2958 | + | |
| 2959 | + | |
| 2960 | + | |
| 2961 | + | |
| 2962 | + | |
| 2963 | + | |
| 2964 | + | |
| 2965 | + | |
2957 | 2966 | | |
2958 | 2967 | | |
2959 | 2968 | | |
| |||
0 commit comments