Commit c3f285c
[SPARK-24149][YARN][FOLLOW-UP] Only get the delegation tokens of the filesystem explicitly specified by the user
## What changes were proposed in this pull request?
Our HDFS cluster configured 5 nameservices: `nameservices1`, `nameservices2`, `nameservices3`, `nameservices-dev1` and `nameservices4`, but `nameservices-dev1` unstable. So sometimes an error occurred and causing the entire job failed since [SPARK-24149](https://issues.apache.org/jira/browse/SPARK-24149):

I think it's best to add a switch here.
## How was this patch tested?
manual tests
Closes #21734 from wangyum/SPARK-24149.
Authored-by: Yuming Wang <[email protected]>
Signed-off-by: Marcelo Vanzin <[email protected]>1 parent 810d59c commit c3f285c
File tree
1 file changed
+5
-9
lines changed- resource-managers/yarn/src/main/scala/org/apache/spark/deploy/yarn
1 file changed
+5
-9
lines changedLines changed: 5 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
| 30 | + | |
32 | 31 | | |
33 | | - | |
34 | | - | |
35 | 32 | | |
36 | 33 | | |
37 | 34 | | |
| |||
193 | 190 | | |
194 | 191 | | |
195 | 192 | | |
196 | | - | |
197 | | - | |
| 193 | + | |
198 | 194 | | |
199 | 195 | | |
200 | 196 | | |
| |||
203 | 199 | | |
204 | 200 | | |
205 | 201 | | |
206 | | - | |
207 | | - | |
| 202 | + | |
| 203 | + | |
208 | 204 | | |
209 | 205 | | |
210 | 206 | | |
| |||
222 | 218 | | |
223 | 219 | | |
224 | 220 | | |
225 | | - | |
| 221 | + | |
226 | 222 | | |
227 | 223 | | |
228 | 224 | | |
0 commit comments