User receives errors querying against Cloudera Impala: Memory limit exceeded


Diagnostics

Product: Reporting Server
Release: 8206
Primary OS: Linux
Solution Date:

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