Github user vanzin commented on a diff in the pull request:
https://github.com/apache/spark/pull/20462#discussion_r165253103
--- Diff:
launcher/src/main/java/org/apache/spark/launcher/InProcessAppHandle.java ---
@@ -66,7 +66,7 @@ synchronized void start(String appName, Method main,
String[] args) {
setState(State.FAILED);
}
- disconnect();
+ dispose();
--- End diff --
The order in which the connection is closed. `waitForClose` will wait for
the connection to be closed by the remote side (the finished app) before
closing it itself, like disconnect does.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]