Commit 8bb6e5f
SAMZA-2231: Exception thrown during yarn staging directory cleanup masks original exception
Failures cleaning up the staging directory on another exception were masking the original exception making troubleshooting difficult. Add some logging and an extra try/catch around the cleanup.
Author: thunderstumpges <[email protected]>
Reviewers: Daniel Nishimura <[email protected]>
Closes apache#1059 from thunderstumpges/try-catch-on-staging-cleanup1 parent bd647bb commit 8bb6e5f
File tree
1 file changed
+10
-2
lines changed- samza-yarn/src/main/scala/org/apache/samza/job/yarn
1 file changed
+10
-2
lines changedLines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
75 | | - | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
76 | 84 | | |
77 | 85 | | |
78 | 86 | | |
| |||
0 commit comments