-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-8136][YARN] Fix flakiness in YarnClusterSuite. #6680
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-8136][YARN] Fix flakiness in YarnClusterSuite. #6680
Conversation
Instead of actually downloading the logs, just verify that the logs link is actually a URL and is in the expected format.
|
Does this comment still apply: |
|
Test build #34346 has finished for PR 6680 at commit
|
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.
LGTM; Source isn't used now is it?
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.
Yep, I will clean the import up. Also, I think I am going to remove the check for hostname because that can fail if there are multiple hostnames which may not be the one returned by Utils.getLocalHostName() (just rely on the URL format).
…tnames. Removed some unused imports.
|
Jenkins, retest this please. |
|
Jenkins, test this please. |
|
Test build #34377 has finished for PR 6680 at commit
|
|
Jenkins, test this please. |
|
looks great, thanks for fixing this. I'll merge this once tests pass. |
|
Looks like |
|
Test build #34378 has finished for PR 6680 at commit
|
|
Test build #34381 has finished for PR 6680 at commit
|
|
This failed in streaming tests. I think this is good for commit, since the YARN tests all passed |
|
I just merged this in master. However it doesn't merge cleanly in 1.4 and 1.3. Could you open PRs against those branches? |
Instead of actually downloading the logs, just verify that the logs link is actually a URL and is in the expected format. Author: Hari Shreedharan <[email protected]> Closes #6680 from harishreedharan/simplify-am-log-tests and squashes the following commits: 3183aeb [Hari Shreedharan] Remove check for hostname which can fail on machines with several hostnames. Removed some unused imports. 50d69a7 [Hari Shreedharan] [SPARK-8136][YARN] Fix flakiness in YarnClusterSuite.
|
I will open a PR against 1.4 (if this functionality was committed to that branch). Since this functionality and the test is not in 1.3 branch, it should not be needed in that branch. |
|
So this feature was not in 1.3 or 1.4 branches. So we are good. |
|
Alright sounds good |
|
Could you close this PR then? It seems that github is not closing them after merge for some reason. |
|
Closing since this was merged into master. |
Instead of actually downloading the logs, just verify that the logs link is actually a URL and is in the expected format. Author: Hari Shreedharan <[email protected]> Closes apache#6680 from harishreedharan/simplify-am-log-tests and squashes the following commits: 3183aeb [Hari Shreedharan] Remove check for hostname which can fail on machines with several hostnames. Removed some unused imports. 50d69a7 [Hari Shreedharan] [SPARK-8136][YARN] Fix flakiness in YarnClusterSuite.
Instead of actually downloading the logs, just verify that the logs link is actually
a URL and is in the expected format.