-
Notifications
You must be signed in to change notification settings - Fork 10
Added serverless support to spark fixture #91
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
Conversation
✅ 41/41 passed, 5 skipped, 5m42s total Running from acceptance #169 |
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.
Hi @mwojtyczka , thanks for opening this PR. This "auto"
serverless cluster id is new to me. What happens if that variable is set to something else than "auto"
? Does that make sense for serverles?
You can set it to the actual cluster id but it does not make sense for serverless as the cluster id is going to be active only for short period of time most of the time (due to autotermination). This is also the reason we only mention "auto" in the documentation: It works the same in notebooks for example. You cannot select specific cluster. You just select Serverless. |
Yeah, it makes sense to have no cluster id for serverless - kinda by definition. It confuses me that the workspace configuration has an attribute called Also, should we add a check that explicitly tests the value is |
will do but not sure we need to check for "auto". I tested it and if you have a running cluster it works if you give it a specific cluster_id. Maybe if given we should check it exists otherwise fail |
@JCZuurmond i had to update the sdk dependency because UCX is using lower version of the sdk and that was causing The project was missing
Can you please update cluster id |
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.
@mwojtyczka : Approving as it LGTM. Please cover the last two suggestions before merging
@mwojtyczka : I cannot not help you here. @FastLee has access to our testing infrastructure, I expect that he can update that value. On this design pattern, I suspect it is intended as a sanity check by @nfx , a backstop if you will |
3a0169a
to
cb743a9
Compare
Extend spark fixture to support Serverless compute.
Linked issues
Resolves #90
Tests