Skip to content

[SPARK-23834][test] Wait for connection before disconnect in LauncherServer test. - #20950

Closed
vanzin wants to merge 1 commit into
apache:masterfrom
vanzin:SPARK-23834
Closed

[SPARK-23834][test] Wait for connection before disconnect in LauncherServer test.#20950
vanzin wants to merge 1 commit into
apache:masterfrom
vanzin:SPARK-23834

Conversation

@vanzin

Copy link
Copy Markdown
Contributor

It was possible that the disconnect() was called on the handle before the
server had received the handshake messages, so no connection was yet
attached to the handle. The fix waits until we're sure the handle has been
mapped to a client connection.

…Server test.
It was possible that the disconnect() was called on the handle before the
server had received the handshake messages, so no connection was yet
attached to the handle. The fix waits until we're sure the handle has been
mapped to a client connection.
@SparkQA

Copy link
Copy Markdown

Test build #88762 has finished for PR 20950 at commit 2b5ca06.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@jiangxb1987jiangxb1987 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@gatorsmilegatorsmile left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Thanks! Merged to master

@asfgitasfgit closed this in 28ea4e3Apr 2, 2018
robert3005 pushed a commit to palantir/spark that referenced this pull request Apr 4, 2018
…Server test.
It was possible that the disconnect() was called on the handle before the
server had received the handshake messages, so no connection was yet
attached to the handle. The fix waits until we're sure the handle has been
mapped to a client connection.
Author: Marcelo Vanzin <vanzin@cloudera.com>
Closesapache#20950 from vanzin/SPARK-23834.
mshtelma pushed a commit to mshtelma/spark that referenced this pull request Apr 5, 2018
…Server test.
It was possible that the disconnect() was called on the handle before the
server had received the handshake messages, so no connection was yet
attached to the handle. The fix waits until we're sure the handle has been
mapped to a client connection.
Author: Marcelo Vanzin <vanzin@cloudera.com>
Closesapache#20950 from vanzin/SPARK-23834.
@vanzin
vanzin deleted the SPARK-23834 branch April 9, 2018 21:02
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@vanzin@SparkQA@jiangxb1987@HyukjinKwon@gatorsmile