Here is some background for the issue.
Customer got OOM exception in one of the task and executor got killed with kill %p. Few shutdown hooks are registered with ShutDownHookManager to do the hadoop temp directory cleanup. During this shutdown phase other tasks are throwing uncaught exception and executor logs are filled up with so many of them.
Since it is unclear for the customer in driver logs/ Spark UI why the container was lost customer is going through the executor logs and he see lot of uncaught exception.
It would be clear to the customer if we can prepend the uncaught exceptions with some message like [Container is in shutdown mode] so that he can skip those.