Github user vanzin commented on a diff in the pull request: https://github.com/apache/spark/pull/20462#discussion_r165432306 --- Diff: launcher/src/main/java/org/apache/spark/launcher/LauncherServer.java --- @@ -363,17 +362,28 @@ public void close() throws IOException { /** * Close the connection and wait for any buffered data to be processed before returning. --- End diff -- Hmm, I think I may have thought of a somewhat simple way to fix the race without needing the workaround in the test. Let me try that. If that doesn't work I'll update the javadoc.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org