02-14-2022 06:36 AM
Hello! I want to ask a question please!
Referring to Spot VMs with the "Cost Optimized" setting:
In the case of Endpoint X-Small, which are 2 workers, if I send 10 simultaneous queries and a worker is evicted, can I have an error in any of these queries? or just would I just have to wait for another worker to come up and then I would have a slow execution?
My fear is that there may be an error when a worker is evicted due to what the tip below says that if a spot instance is retrieved, queries running on that instance will need to be resubmitted
Unfortunately I am unable to test this...so I came to try this information here on the forum
Thanks!
02-14-2022 07:31 AM
I think with spot instances there is always the chance of getting errors because of eviction.
If all workers are evicted the query state is probably also lost, unless Databricks SQL keeps this stored somewhere.
For job clusters that is the case anyway, perhaps it works different on databricks sql.
02-14-2022 07:31 AM
I think with spot instances there is always the chance of getting errors because of eviction.
If all workers are evicted the query state is probably also lost, unless Databricks SQL keeps this stored somewhere.
For job clusters that is the case anyway, perhaps it works different on databricks sql.
02-14-2022 08:50 AM
Okay, thanks for the contribution @Werner Stinckens !
That's the point really, does Databricks SQL keep it stored somehow so that there are no errors on the worker's return?
I will have to really test.
Regards
02-14-2022 11:04 PM
I doubt that will be the case. It would mean databricks has to run some kind of permanent node that contains the query state in ram (or on disk).
02-15-2022 04:36 AM
I agree with you
02-14-2022 10:15 AM
@Gvsmao . - Hello there! My name is Piper, and I'm a moderator for Databricks. When you find your answer, would you come back to let us know and mark your answer as best, unless werner's answer helped the most?
Either way, we are interested!
02-14-2022 12:00 PM
@Piper Wilson Ok!
03-26-2022 03:26 AM
Thanks for the information, I will try to figure it out for more. Keep sharing such informative post.
Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.
If there isn’t a group near you, start one and help create a community that brings people together.
Request a New Group