Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.1.1
-
None
Description
On shutdown, spark can be very verbose and can spit out errors that causes the user to be confused.
If possible, we should not print those out and just ignore them by changing the changing the log level from WARNING to DEBUG.
Also shutdown of spark can take a long time because of the backlog of events in the event queue ( warnings like: Message $message dropped. ${e.getMessage}).
This happens more with dynamic allocation on.
I am suggesting to
1. change the log level when the shutdown is happening and the RPC connections are closed(RpcEnvStoppedException).
2. Clear the event queue when RPC module is stopped and spark is shutting down.