-
Notifications
You must be signed in to change notification settings - Fork 28.5k
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
SPARK-2168 [Spark core] Use relative URIs for the app links in the History Server. #1160
Conversation
Can one of the admins verify this patch? |
Haven't looked at the code yet, but could you add a more descriptive title to the PR? Thanks! |
Also, this should probably go into master before it goes to branch-1.0. |
I have added more descriptive title |
so should I open another PR for master branch? |
There's a typo in your title. :-) Also, it could be shorter. Think that the PR title becomes the summary in the final git commit, so it shows in commands like "git log --oneline" where it's nice to have a short, concise description of the commit. I'd suggest something like this: Use relative URIs for the app links in the History Server. And then you can put a longer description in the description box, if you wish. As for the branch, I'm not sure; that's beyond my github knowledge. I'd wait for a committer to chime in. :-) |
I've shortened description thanks for hints. |
test this please |
val expectedLink = response \\ "a" | ||
expectedLink.size should equal(1) | ||
val hrefAttr = expectedLink(0).attribute("href") | ||
hrefAttr.get.toString should equal(link) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
indentation is weird here. Also, can you explain your comments "when" and "then"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry about the identation I was pretty sure it's fine when I was committing this one.
About "when" and "then", it's an old habit to simulate BDD-style of testing in Junit, however in Scala it could be replaced by using Specs2 or WordSpec trait from ScalaTest.
Let me know what u would like me to change.
Can one of the admins verify this patch? |
ok to test... |
QA tests have started for PR 1160 at commit
|
QA tests have finished for PR 1160 at commit
|
Hey @elyast could you open this against the master branch? It would be good if the latest Spark releases benefit from the changes here as well. For now, I would recommend that we close this PR in favor of one that updates the other branches. |
@andrewor14 I think it's been fixed on master branch, so if you don't want to release maintenance release for 1.0.x then I would suggest to close it. |
I see. Nevertheless it would be good to merge the tests in master too. Feel free to open a new PR just for the test. |
Actually, let's retest this please |
Test build #25182 has started for PR 1160 at commit
|
Test build #25182 has finished for PR 1160 at commit
|
Test FAILed. |
retest this please |
Test build #25194 has started for PR 1160 at commit
|
Test build #25194 has finished for PR 1160 at commit
|
Test FAILed. |
Looks like branch-1.0 is consistently failing tests (not related to this PR) |
Is this still live? I think this PR should be closed in any event, but the test can go in master in a separate PR. Otherwise let's close this. |
Fine with me, I will add tests on master with new PR |
…story Server. As agreed in PR #1160 adding test to verify if history server generates relative links to applications. Author: Lukasz Jastrzebski <[email protected]> Closes #4778 from elyast/master and squashes the following commits: 0c07fab [Lukasz Jastrzebski] Incorporating comments for SPARK-2168 6d7866d [Lukasz Jastrzebski] Adjusting test for SPARK-2168 for master branch d6f4fbe [Lukasz Jastrzebski] Added test for SPARK-2168
…story Server. As agreed in PR #1160 adding test to verify if history server generates relative links to applications. Author: Lukasz Jastrzebski <[email protected]> Closes #4778 from elyast/master and squashes the following commits: 0c07fab [Lukasz Jastrzebski] Incorporating comments for SPARK-2168 6d7866d [Lukasz Jastrzebski] Adjusting test for SPARK-2168 for master branch d6f4fbe [Lukasz Jastrzebski] Added test for SPARK-2168 (cherry picked from commit 4a8a0a8) Signed-off-by: Andrew Or <[email protected]>
* rdar://82095645 (Update the Callhome Version at Apple Spark Build) add jwt token on client side and send more fields to server for analytic and ML purpose
…properties performance (#1160)
Removing full URI leaving only relative path in link to the completed application plus unit test