Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Enable tracing for dg4odbc with cloudera driver

Enable tracing for dg4odbc with cloudera driver

New Contributor

 

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