You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched in the issues and found no similar issues.
What would you like to be improved?
If removeResources take to much time. NPE will be thrown as follows.
[ERROR] 2022-12-30 00:43:28,403 clearResourceThread ShuffleTaskManager lambda$new$3 - Exception happened when clear resource for expired application
java.lang.NullPointerException
at org.apache.uniffle.server.ShuffleTaskManager.removeResources(ShuffleTaskManager.java:479)
at org.apache.uniffle.server.ShuffleTaskManager.lambda$new$3(ShuffleTaskManager.java:130)
at java.lang.Thread.run(Thread.java:745)
How should we improve?
No response
Are you willing to submit PR?
Yes I am willing to submit a PR!
The text was updated successfully, but these errors were encountered:
### What changes were proposed in this pull request?
If `Resource` had been removed, avoid removing twice.
### Why are the changes needed?
When some appIds' removeResource took too much time, the `expiredAppCleanupExecutorService` in ShuffleTaskManager would check and detect the same appId is expired multiple times. Therefore the
same appId might be added to `expiredAppIdQueue` multiple times. This PR fixes#456
### Does this PR introduce _any_ user-facing change?
No
### How was this patch tested?
UT
Code of Conduct
Search before asking
What would you like to be improved?
If
removeResources
take to much time. NPE will be thrown as follows.How should we improve?
No response
Are you willing to submit PR?
The text was updated successfully, but these errors were encountered: