Reply
New Contributor
Posts: 1
Registered: ‎08-20-2014

Enable tracing for dg4odbc with cloudera driver

 

Cannot generate a tracefile with the below directives? We have Cloudera connector for Hive with Oracle dg4odbc.

 

oracle@:/home/oracle> cat .odbc.ini
[ODBC]
# Specify any global ODBC configuration here such as ODBC tracing.
Trace=Yes
TraceFile=/tmp/odbcTrace.txt

[ODBC Data Sources]
Cloudera64=Cloudera ODBC Driver for Hive (64-bit)

[Cloudera64]
Driver=/opt/cloudera/hiveodbc/lib/64/libclouderahiveodbc64.so
HOST=XXXXXX
PORT=10000
Schema=XXXXXXXX
FastSQLPrepare=0
UseNativeQuery=0
HiveServerType=2
AuthMech=1
KrbRealm=XXXXXXXXX
KrbHostFQDN=XXXXXXXXXXXX
KrbServiceName=hive