Reputation: 25
What happens if an Impala query runs out of memory:
A detailed explanation would help!
Upvotes: 0
Views: 2048
Reputation: 4334
It depends on the version of Impala and how it's configured.
In general, Impala will kill queries when they run out of memory. There is a process-wide memory limit at which point any query that requests memory will be killed. There is also another optional, per-query memory limit.
Impala 2.0 and later support "spilling" large join and aggregation operators which help avoid these out of memory conditions.
Upvotes: 3