on 06-21-2016 11:04 PM
Hello Members,
I am following "How To Install Database Drivers for SAP HANA Smart Data Access guide" for connecting HANA SDA to Hadoop and HIVE.
After completion of all steps, I am facing below error in two HANA systems, trying to connect to Hadoop using hive, spark drivers.
I did configuration based on available guidelines and deployed
icbwsb:/usr/sap/HS1/HDB00> isql --help
unixODBC 2.3.4
icbwsb:/usr/sap/HS1/HDB00> isql -v hive1
[S1000][unixODBC][DSI] The error message NoSQLGetPrivateProfileString could not be found in the en-US locale. Check that /en-US/ODBCMessages.xml exists.
[ISQL]ERROR: Could not SQLConnect
icbwsb:/usr/sap/HS1/HDB00>
Result for tracing
ics4sb:/opt/simba/hiveodbc/lib/64> strace -e trace=open isql hive1 2>&1 | grep odbc.ini
open("/usr/sap/HSS/home/.odbc.ini", O_WRONLY|O_CREAT|O_APPEND, 0666) = 3
open("/usr/sap/HSS/home/.odbc.ini", O_RDONLY) = 3
open("/usr/sap/HSS/home/.odbc.ini", O_WRONLY|O_CREAT|O_APPEND, 0666) = 3
open("/usr/sap/HSS/home/.odbc.ini", O_RDONLY) = 3
open("/usr/sap/HSS/home/.odbc.ini", O_WRONLY|O_CREAT|O_APPEND, 0666) = 3
open("/usr/sap/HSS/home/.odbc.ini", O_RDONLY) = 3
open("/usr/sap/HSS/home/.odbc.ini", O_WRONLY|O_CREAT|O_APPEND, 0666) = 3
open("/usr/sap/HSS/home/.odbc.ini", O_RDONLY) = 3
open("/opt/simba/hiveodbc/lib/64//simba.hiveodbc.ini", O_RDONLY) = 3
open("/opt/simba/hiveodbc/lib/64//simba.hiveodbc.ini", O_RDONLY) = 3
ics4sb:/opt/simba/hiveodbc/lib/64>
Thank you in advance,
Amit Lal
Hello,
Have you properly modified the simba.hiveodbc.ini file?
Original location: /opt/simba/hiveodbc/lib/64/simba.hiveodbc.ini
You can either:
1) Directly modify simba.hiveodbc.ini from its default installation folder, or-
2) Copy to /usr/sap/HSS/home/.simba.hiveodbc.ini then modify it here
There are some modifications that you need to do in simba.hiveodbc.ini. Please refer to the Simba documentation.
Last step is to export all the required libraries ($LD_LIBRARY_PATH) and both .ini (odbc.ini and simba.hiveodbc.ini) location. As per SAP guide, you can create .customer.sh in your HSS home folder.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.