Skip to content

Conversation

@tsudukim
Copy link
Contributor

Enabled HistoryServer to show incomplete applications.
We can see the log for incomplete applications by clicking the bottom link.

@tsudukim
Copy link
Contributor Author

In this PR, the sort order is (-endTime, -startTime) which means that
the sorting is still end time for completed apps but is start time for incomplete apps
because incomplete apps don't have the end time generally.

Please see also the discuss in this previous PR about the need of this feature. #1558

@AmplabJenkins
Copy link

Can one of the admins verify this patch?

@tsudukim
Copy link
Contributor Author

And these are the screenshots of new UI.
A new link for the page of incomplete applications is added at bottom. ("Show incomplete applications")
spark-2458-complete-2

And this is the new separated page for incomplete applications.
Incomplete apps donsn't have the end time generally so end time are all shown as "-".
spark-2458-incomplete-2

@andrewor14
Copy link
Contributor

Looks great. I will take a detailed pass once the 1.2 release is out of the window.

@andrewor14
Copy link
Contributor

add to whitelist

@SparkQA
Copy link

SparkQA commented Nov 26, 2014

Test build #23875 has started for PR 3467 at commit 66fc15b.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Nov 26, 2014

Test build #23875 has finished for PR 3467 at commit 66fc15b.

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

@AmplabJenkins
Copy link

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/23875/
Test FAILed.

@SparkQA
Copy link

SparkQA commented Nov 26, 2014

Test build #23892 has started for PR 3467 at commit e8cdf7b.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Nov 26, 2014

Test build #23892 has finished for PR 3467 at commit e8cdf7b.

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

@AmplabJenkins
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/23892/
Test PASSed.

Copy link
Contributor

Choose a reason for hiding this comment

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

requestedIncomplete == app.incomplete might be simpler

@tsudukim
Copy link
Contributor Author

@ryan-williams Thank you for your review!
I fixed them.

@SparkQA
Copy link

SparkQA commented Nov 28, 2014

Test build #23941 has started for PR 3467 at commit d6dd750.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Nov 28, 2014

Test build #23941 has finished for PR 3467 at commit d6dd750.

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

@AmplabJenkins
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/23941/
Test PASSed.

@andrewor14
Copy link
Contributor

Hey @tsudukim you will need to rebase to master because there have been changes to the HS that went in recently. Once you do that I will take a detailed pass through the PR.

@tsudukim tsudukim force-pushed the feature/SPARK-2458-2 branch from e69329b to 5454869 Compare December 12, 2014 18:01
@SparkQA
Copy link

SparkQA commented Dec 12, 2014

Test build #24413 has started for PR 3467 at commit 5454869.

  • This patch merges cleanly.

@tsudukim
Copy link
Contributor Author

@andrewor14 Thank you for following this ticket.
I finished rebasing to master.

@SparkQA
Copy link

SparkQA commented Dec 12, 2014

Test build #24413 has finished for PR 3467 at commit 5454869.

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

@AmplabJenkins
Copy link

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/24413/
Test FAILed.

@andrewor14
Copy link
Contributor

retest this please

@SparkQA
Copy link

SparkQA commented Dec 18, 2014

Test build #24596 has started for PR 3467 at commit 5454869.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Dec 18, 2014

Test build #24596 has finished for PR 3467 at commit 5454869.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
    • class RandomModuleHook(object):
    • class Analyzer(catalog: Catalog, registry: FunctionRegistry, caseSensitive: Boolean)

@AmplabJenkins
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/24596/
Test PASSed.

@andrewor14
Copy link
Contributor

By the way I'm going to block this on #1222, since that one has been open for a while and I would like to get it merged first before @vanzin has to resolve more conflicts again. After that one goes in this PR will likely have to resolve non-trivial merge conflicts. I might hold back reviewing this PR until then. Just a heads up.

Copy link
Contributor

Choose a reason for hiding this comment

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

what does this mean? Which column does it sort by?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

About completed applications, they are sorted by endTime because they have proper endTime (almost unique).
About incomplete applications, they are sorted by startTime because they have the same invalid endTime(-1). As the first order is not effective, the second order is effective.

Copy link
Contributor

Choose a reason for hiding this comment

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

I see

Copy link
Contributor

Choose a reason for hiding this comment

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

space before if

Copy link
Contributor

Choose a reason for hiding this comment

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

also might be good to check for info.endTime > 0 instead, here and other places

@andrewor14
Copy link
Contributor

Hey @tsudukim this patch is pretty straightforward and it looks good. Unfortunately you will need to resolve a non-trivial merge conflict with another patch that I just merged.

@tsudukim
Copy link
Contributor Author

Thank you for your comments! I'm going to do it in a few days!

Enabled HistoryServer to show incomplete applications.
We can see the log for incomplete applications by clicking the bottom link.
Fixed "Incomplete" as capitalized in the web UI.
Modified double negative variable name.
@tsudukim tsudukim force-pushed the feature/SPARK-2458-2 branch from 262dc52 to f9ef854 Compare December 25, 2014 09:35
@SparkQA
Copy link

SparkQA commented Dec 25, 2014

Test build #24818 has started for PR 3467 at commit f9ef854.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Dec 25, 2014

Test build #24818 has finished for PR 3467 at commit f9ef854.

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

@AmplabJenkins
Copy link

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/24818/
Test FAILed.

@SparkQA
Copy link

SparkQA commented Dec 26, 2014

Test build #24830 has started for PR 3467 at commit 76205d2.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Dec 26, 2014

Test build #24830 has finished for PR 3467 at commit 76205d2.

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

@AmplabJenkins
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/24830/
Test PASSed.

@tsudukim
Copy link
Contributor Author

tsudukim commented Jan 6, 2015

resolved conflicts!

Copy link
Contributor

Choose a reason for hiding this comment

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

Return true when the application has completed.

Don't worry I'll fix the wording myself when I merge this

@andrewor14
Copy link
Contributor

Alright LGTM I'm merging this into master thanks!

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.

5 participants