Skip to content

[SPARK-15131][SQL] Shutdown StateStore management thread when SparkContext has been shutdown - #12905

Closed
tdas wants to merge 1 commit into
apache:masterfrom
tdas:SPARK-15131
Closed

[SPARK-15131][SQL] Shutdown StateStore management thread when SparkContext has been shutdown#12905
tdas wants to merge 1 commit into
apache:masterfrom
tdas:SPARK-15131

Conversation

@tdas

@tdastdas commented May 4, 2016

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Make sure that whenever the StateStoreCoordinator cannot be contacted, assume that the SparkContext and RpcEnv on the driver has been shutdown, and therefore stop the StateStore management thread, and unload all loaded stores.

How was this patch tested?

Updated unit tests.

@tdas

tdas commented May 4, 2016

Copy link
Copy Markdown
ContributorAuthor

@zsxwing

@SparkQA

Copy link
Copy Markdown

Test build #57788 has finished for PR 12905 at commit a8cb982.

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

@zsxwing

Copy link
Copy Markdown
Member

retest this please

2 similar comments
@zsxwing

Copy link
Copy Markdown
Member

retest this please

@zsxwing

Copy link
Copy Markdown
Member

retest this please

@zsxwing

Copy link
Copy Markdown
Member

Let's run more times to see if it's stable.

@SparkQA

Copy link
Copy Markdown

Test build #57804 has finished for PR 12905 at commit a8cb982.

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

@SparkQA

Copy link
Copy Markdown

Test build #2970 has finished for PR 12905 at commit a8cb982.

  • This patch fails MiMa tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@tdas

tdas commented May 4, 2016

Copy link
Copy Markdown
ContributorAuthor

Something flaky with Mima!

@SparkQA

Copy link
Copy Markdown

Test build #2969 has finished for PR 12905 at commit a8cb982.

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

@SparkQA

Copy link
Copy Markdown

Test build #2971 has finished for PR 12905 at commit a8cb982.

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

@SparkQA

Copy link
Copy Markdown

Test build #2972 has finished for PR 12905 at commit a8cb982.

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

@SparkQA

Copy link
Copy Markdown

Test build #2973 has finished for PR 12905 at commit a8cb982.

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

@zsxwing

Copy link
Copy Markdown
Member

LGTM. Merging to master / 2.0

asfgit pushed a commit that referenced this pull request May 5, 2016
…ntext has been shutdown
## What changes were proposed in this pull request?
Make sure that whenever the StateStoreCoordinator cannot be contacted, assume that the SparkContext and RpcEnv on the driver has been shutdown, and therefore stop the StateStore management thread, and unload all loaded stores.
## How was this patch tested?
Updated unit tests.
Author: Tathagata Das <tathagata.das1565@gmail.com>
Closes#12905 from tdas/SPARK-15131.
(cherry picked from commit bde27b8)
Signed-off-by: Shixiong Zhu <shixiong@databricks.com>
@asfgitasfgit closed this in bde27b8May 5, 2016
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.

3 participants

@tdas@SparkQA@zsxwing