Diagnostics
Symptom
Cloudera][ImpalaJDBCDriver](500051) ERROR processing query/statement.
(FOC1500) : Error Code: 0, SQL state: Memory limit exceeded
(FOC1500) : Error occurred on backend bda1node49.infoftps.com:22000 by fragment
Problem
The user receives the errors above with a query against Cloudera Impala.
Does the Impala adapter provide a way to control memory allocation?
Solution
The Impala adapter does not, but you can use SQL Passthru with the following native setting:
ENGINE SQLIMP
SET MEM_LIMIT=2000000000 ;
END