Skip to content

[SPARK-5228][WebUI] Hide tables for "Active Jobs/Completed Jobs/Failed Jobs" when they are empty #4028

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from

Conversation

sarutak
Copy link
Member

@sarutak sarutak commented Jan 13, 2015

In current WebUI, tables for Active Stages, Completed Stages, Skipped Stages and Failed Stages are hidden when they are empty while tables for Active Jobs, Completed Jobs and Failed Jobs are not hidden though they are empty.

This is before my patch is applied.

2015-01-13 14 13 03

And this is after my patch is applied.

2015-01-13 14 38 13

@SparkQA
Copy link

SparkQA commented Jan 13, 2015

Test build #25489 has finished for PR 4028 at commit 9493a1d.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
    • case class QualifiedTableName(database: String, name: String)
    • case class CreateMetastoreDataSource(

@sarutak sarutak changed the title [SPARK-5228] Hide tables for "Active Jobs/Completed Jobs/Failed Jobs" when they are empty [SPARK-5228][WebUI] Hide tables for "Active Jobs/Completed Jobs/Failed Jobs" when they are empty Jan 14, 2015
@SparkQA
Copy link

SparkQA commented Jan 14, 2015

Test build #25552 has finished for PR 4028 at commit b1e6e8b.

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

@@ -47,7 +47,7 @@ private[ui] class AllJobsPage(parent: JobsTab) extends WebUIPage("") {
val lastStageData = lastStageInfo.flatMap { s =>
listener.stageIdToData.get((s.stageId, s.attemptId))
}
val isComplete = job.status == JobExecutionStatus.SUCCEEDED
Copy link
Contributor

Choose a reason for hiding this comment

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

Hmm, I guess this was unused. Good catch.

@JoshRosen
Copy link
Contributor

This matches the approach that I used for the job details page, so this looks good to me. I'm going to merge this into master (1.3.0). Thanks!

@asfgit asfgit closed this in 9d4449c Jan 14, 2015
asfgit pushed a commit that referenced this pull request Jan 21, 2015
…Completed Stages and Failed Stages" when they are empty

Related to SPARK-5228 and #4028, `AllStagesPage` also should hide the table for  `ActiveStages`, `CompleteStages` and `FailedStages` when they are empty.

Author: Kousuke Saruta <sarutak@oss.nttdata.co.jp>

Closes #4083 from sarutak/SPARK-5294 and squashes the following commits:

a7625c1 [Kousuke Saruta] Fixed conflicts
bomeng pushed a commit to Huawei-Spark/spark that referenced this pull request Jan 22, 2015
…Completed Stages and Failed Stages" when they are empty

Related to SPARK-5228 and apache#4028, `AllStagesPage` also should hide the table for  `ActiveStages`, `CompleteStages` and `FailedStages` when they are empty.

Author: Kousuke Saruta <sarutak@oss.nttdata.co.jp>

Closes apache#4083 from sarutak/SPARK-5294 and squashes the following commits:

a7625c1 [Kousuke Saruta] Fixed conflicts
@sarutak sarutak deleted the SPARK-5228 branch April 11, 2015 05:23
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.

3 participants