Created
November 16, 2016 10:29
-
-
Save yht/646a976549c1ff8e5afc67a0ea933319 to your computer and use it in GitHub Desktop.
ImpalaODBC Pre-Load
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# /etc/profile.d/ | |
export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libodbcinst.so | |
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu/odbc | |
export ODBCINI=$HOME/.odbc.ini | |
export ODBCSYSINI=/etc | |
export CLOUDERAIMPALAINI=/opt/cloudera/impalaodbc/lib/64/cloudera.impalaodbc.ini |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/ | |
[ODBC Drivers] | |
Cloudera Impala ODBC Driver 64-bit=Installed | |
[Cloudera Impala ODBC Driver 64-bit] | |
Description=Cloudera Impala ODBC Driver (64-bit) | |
Driver=/opt/cloudera/impalaodbc/lib/64/libclouderaimpalaodbc64.so |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment