Repository: spark Updated Branches: refs/heads/master 841f1d776 -> 5433be44c
[SPARK-21991][LAUNCHER][FOLLOWUP] Fix java lint ## What changes were proposed in this pull request? Fix java lint ## How was this patch tested? Run `./dev/lint-java` Author: Andrew Ash <[email protected]> Closes #19574 from ash211/aash/fix-java-lint. Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/5433be44 Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/5433be44 Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/5433be44 Branch: refs/heads/master Commit: 5433be44caecaeef45ed1fdae10b223c698a9d14 Parents: 841f1d7 Author: Andrew Ash <[email protected]> Authored: Wed Oct 25 14:41:02 2017 -0700 Committer: Marcelo Vanzin <[email protected]> Committed: Wed Oct 25 14:41:02 2017 -0700 ---------------------------------------------------------------------- .../src/main/java/org/apache/spark/launcher/LauncherServer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/5433be44/launcher/src/main/java/org/apache/spark/launcher/LauncherServer.java ---------------------------------------------------------------------- diff --git a/launcher/src/main/java/org/apache/spark/launcher/LauncherServer.java b/launcher/src/main/java/org/apache/spark/launcher/LauncherServer.java index 454bc7a..4353e3f 100644 --- a/launcher/src/main/java/org/apache/spark/launcher/LauncherServer.java +++ b/launcher/src/main/java/org/apache/spark/launcher/LauncherServer.java @@ -235,7 +235,7 @@ class LauncherServer implements Closeable { synchronized (clients) { clients.add(clientConnection); } - + long timeoutMs = getConnectionTimeout(); // 0 is used for testing to avoid issues with clock resolution / thread scheduling, // and force an immediate timeout. @@ -244,7 +244,7 @@ class LauncherServer implements Closeable { } else { timeout.run(); } - + clientThread.start(); } } catch (IOException ioe) { --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
