-
Notifications
You must be signed in to change notification settings - Fork 40k
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
Fix broken spark tests to use yaml files, 1 worker, declare DNS depe… #21626
Conversation
e5f5ca9
to
56eb861
Compare
Labelling this PR as size/M |
GCE e2e build/test failed for commit 56eb861b62a3039571202ff7bb191320ce3d5d44. |
failure |
56eb861
to
3c3dbe0
Compare
|
3c3dbe0
to
e7be97b
Compare
cc @mattf @kubernetes/sig-testing |
GCE e2e test build/test passed for commit 3c3dbe0737d8270bf2f802d653bf0e6d65bdaf57. |
GCE e2e build/test failed for commit e7be97b79e148e44314cda9f9da8e01f065c9892. |
e7be97b
to
7b2657a
Compare
GCE e2e build/test failed for commit 7b2657a59a8e2c00ddd9f009ecd0295466462b8a. |
@jayunit100 |
7b2657a
to
bae110d
Compare
GCE e2e test build/test passed for commit 7b2657a59a8e2c00ddd9f009ecd0295466462b8a. |
GCE e2e test build/test passed for commit bae110d2d9a2260695d5685890f470dedbfadec0. |
@@ -3,7 +3,7 @@ apiVersion: v1 | |||
metadata: | |||
name: spark-worker-controller | |||
spec: | |||
replicas: 3 | |||
replicas: 1 |
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.
We don't want the example to bring up 1 worker by default.
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.
we can easily modify it to n+1, but what value does that provide?
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.
I mean, 3 is certainly kind of arbitrary, but it at least shows more than one worker running when you spin up the example.
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.
the goal is to minimize flakes and test a distilled cluster.
2 is a fully distributed system in every sense of the word, because spark is a strict master->slave architecture.
If we agree with that : Then and there is no fundamental difference between 1, 2 or 3 slaves, is there?
@zmerlynn if you insist ill update to 2 or 3 or .... as the priority is to get the fix in, but i think 1 slave is ideal. just let me know :)
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.
Changing to 2 is fine.
bae110d
to
8721c1c
Compare
@zmerlynn thanks for the review, is this all set? |
GCE e2e test build/test passed for commit 8721c1cd4e3d71b0e578b0b824e59bd0ff70af3f. |
workerControllerJson := mkpath("spark-worker-controller.json") | ||
|
||
// TODO: Add Zepplin and Web UI to this example. | ||
serviceJson := mkpath("spark-master-service.yaml") |
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.
Total nit: s/Json/Yaml.
@jayunit100: You need to gofmt it looks like, but it LGTM after that and the nit. (I wouldn't've bothered with the nit otherwise). |
8721c1c
to
2dd36dd
Compare
GCE e2e build/test failed for commit 2dd36dd9971ef6e5cd4c4480302b5b9a2493f0d7. |
2dd36dd
to
e003947
Compare
GCE e2e test build/test passed for commit e003947611ac3ed28879576147c508a6e7eb9a8d. |
@zmerlynn |
@k8s-bot unit test this, issue #IGNORE (no test results) |
LGTM |
e003947
to
782b268
Compare
@zmerlynn i had to gofmt, force pushed... i think might a new LGTM ? |
GCE e2e test build/test passed for commit 782b268. |
@k8s-bot test this Tests are more than 48 hours old. Re-running tests. |
GCE e2e test build/test passed for commit 782b268. |
Fix broken spark tests to use yaml files, 1 worker, declare DNS depe…
UPSTREAM: 71380: aggregator: add APIService unavailability metrics Origin-commit: a2218fc44906711ef8e109118df5a6ca477393fc
Ok, Another set of fixes for the broken examples #20999 , this time spark yamls.
Also updates docs to declare the explicit dependency on DNS.