Skip to content

Conversation

@zsxwing
Copy link
Member

@zsxwing zsxwing commented Apr 9, 2019

What changes were proposed in this pull request?

This PR backports #24303 to 2.4.

How was this patch tested?

Jenkins

…rkListenerExecutorMetricsUpdate

This PR updates `AppStatusListener` to flush `LiveEntity` if necessary when receiving `SparkListenerExecutorMetricsUpdate`. This will ensure the staleness of Spark UI doesn't last more than the executor heartbeat interval.

The new unit test.

Closes apache#24303 from zsxwing/SPARK-27394.

Authored-by: Shixiong Zhu <zsxwing@gmail.com>
Signed-off-by: Marcelo Vanzin <vanzin@cloudera.com>
master = "local[2]",
// Set a small heart beat interval to make the test fast
additionalConfs = Map(
"spark.executor.heartbeatInterval" -> "1s",
Copy link
Member Author

Choose a reason for hiding this comment

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

@SparkQA
Copy link

SparkQA commented Apr 9, 2019

Test build #104443 has finished for PR 24328 at commit 5bfe9c0.

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

@gatorsmile
Copy link
Member

cc @jiangxb1987 @vanzin

@jiangxb1987
Copy link
Contributor

LGTM

@vanzin
Copy link
Contributor

vanzin commented Apr 10, 2019

Looks good pending tests.

@SparkQA
Copy link

SparkQA commented Apr 10, 2019

Test build #104487 has finished for PR 24328 at commit ed485f7.

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

@zsxwing
Copy link
Member Author

zsxwing commented Apr 10, 2019

Thanks! Merging to 2.4.

asfgit pushed a commit that referenced this pull request Apr 10, 2019
…rkListenerExecutorMetricsUpdate (backport 2.4)

## What changes were proposed in this pull request?

This PR backports #24303 to 2.4.

## How was this patch tested?

Jenkins

Closes #24328 from zsxwing/SPARK-27394-2.4.

Authored-by: Shixiong Zhu <zsxwing@gmail.com>
Signed-off-by: Shixiong Zhu <zsxwing@gmail.com>
@zsxwing zsxwing closed this Apr 10, 2019
@zsxwing zsxwing deleted the SPARK-27394-2.4 branch April 10, 2019 22:17
kai-chi pushed a commit to kai-chi/spark that referenced this pull request Jul 23, 2019
…rkListenerExecutorMetricsUpdate (backport 2.4)

## What changes were proposed in this pull request?

This PR backports apache#24303 to 2.4.

## How was this patch tested?

Jenkins

Closes apache#24328 from zsxwing/SPARK-27394-2.4.

Authored-by: Shixiong Zhu <zsxwing@gmail.com>
Signed-off-by: Shixiong Zhu <zsxwing@gmail.com>
kai-chi pushed a commit to kai-chi/spark that referenced this pull request Jul 25, 2019
…rkListenerExecutorMetricsUpdate (backport 2.4)

## What changes were proposed in this pull request?

This PR backports apache#24303 to 2.4.

## How was this patch tested?

Jenkins

Closes apache#24328 from zsxwing/SPARK-27394-2.4.

Authored-by: Shixiong Zhu <zsxwing@gmail.com>
Signed-off-by: Shixiong Zhu <zsxwing@gmail.com>
kai-chi pushed a commit to kai-chi/spark that referenced this pull request Aug 1, 2019
…rkListenerExecutorMetricsUpdate (backport 2.4)

## What changes were proposed in this pull request?

This PR backports apache#24303 to 2.4.

## How was this patch tested?

Jenkins

Closes apache#24328 from zsxwing/SPARK-27394-2.4.

Authored-by: Shixiong Zhu <zsxwing@gmail.com>
Signed-off-by: Shixiong Zhu <zsxwing@gmail.com>
Sign up for free to 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.

6 participants