Github user sryza commented on a diff in the pull request:
https://github.com/apache/spark/pull/4554#discussion_r24564066
--- Diff:
yarn/src/main/scala/org/apache/spark/deploy/yarn/ExecutorRunnable.scala ---
@@ -109,7 +110,14 @@ class ExecutorRunnable(
}
// Send the start request to the ContainerManager
- nmClient.startContainer(container, ctx)
+ try {
+ nmClient.startContainer(container, ctx)
+ } catch {
+ case ex: YarnException =>
+ logError("Exception while start container %s on host %s:"
--- End diff --
The same exception shouldn't be logged twice. If we're going to rethrow
it, we should wrap it in another exception and include the additional info in
that exception's message.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]