cp /home/pvsreddy/ace-12.0.11.0/server/ODBC/unixodbc/odbc.ini /home/odbc/odbc.ini
cp /home/pvsreddy/ace-12.0.11.0/server/ODBC/unixodbc/odbcinst.ini /home/odbc/odbcinst.ini
Define the ODBC Data Source Name (DSN).
[ODBC Data Sources]
IMPALADSN=Cloudera with Impala ODBC datasource
[IMPALADSN]
Driver=/opt/cloudera/impalaodbc/lib/64/libclouderaimpalaodbc64.so
Host=10.10.10.10
Port=21050
AuthMech=1
KrbRealm=YOUR_REALM
KrbHostFQDN=YOUR_FQDN
KrbServiceName=impala
TransportMode=Binary
SSL=1
CAIssuedCertNamesMismatch=1
TrustedCerts=/path/to/CAroot.pem
SSLTrustStorePwd=xxxx
Database=default
AutoCommit=1
ReadOnly=1
UseNativeQuery=0
IgnoreTransactions=1
RowsFetchedPerBlock=1
[ODBC]
InstallDir=/home/pvsreddy/ace-12.0.11.0/server/ODBC/drivers
UseCursorLib=0
IANAAppCodePage=4
UNICODE=UTF-8
Step 3: Configure odbcinst.ini
Point ACE to the ODBC configuration files:
[ODBC]
Trace=no
TraceFile=/home/pvsreddy/odbc/odbctrace.out
Threading=2
Step 4: Set Environment Variables
Point ACE to the ODBC configuration files:
export ODBCINI=/home/odbc/odbc.ini
export ODBCSYSINI=/home/odbc
Step 5: Create Security Identity
Source the ACE profile and set database credentials:
. /home/pvsreddy/ace-12.0.11.0/mqsiprofile
mqsisetdbparms BRK120110 -n odbc::IMPALADSN -u cloudera -p password
Restart the broker after setting credentials.
Step 6: Validate Connection
Test connectivity with mqsicvp:
mqsicvp BRK120110 -n IMPALADSN
Step 7: Build the Employees Message Flow
The flow retrieves employee data via HTTP.
Nodes used:
-
HTTP Input Node → Receives requests
-
Compute Node → Executes SQL query
-
HTTP Reply Node → Returns response
Configuration:
Create Employees Message Flow:

HTTP Input Node → Set Path suffix for URL to /employees
Compute Node → Set Data source to IMPALADSN (ensure consistency with DSN name)
Compute Node ESQL Example:
Save, deploy, and execute the flow.