on 03-25-2013 11:06 AM
Dear All,
we are trying to implement connectivity between SAP BO and hive using JDBC.
We have performed following steps as per the data access guide.
To create a connection to the
Hive Thrift server, you first have to place the following sets of JAR files to the connectionserver-install-dir\connectionServer\jdbc\drivers\hive directory
JAR files HIVE database version
hadoop-0.20.1-core.jar or hadoop-core-0.20.2.jar
hive-exec-0.7.1.jar
hive-jdbc-0.7.1.jar
hive-metastore-0.7.1.jar
hive-service-0.7.1.jar
libfb303.jar
log4j-1.2.16.jar
commons-logging-1.0.4.jar
slf4j-api-1.6.1.jar
slf4j-log4j12-1.6.1.jar
But now are getting error while trying to connect using IDT.
"org.apache.hadoop.hive.jdbc.HiveDriver"
Best Regards,
Atul Dumbre
we did connect hive via JDBC. as per the error, the driver is not able to get the server details
is kerberos used by any chance?
check the driver version and try to test the connection. there is a note for this, please refer the note and try again. hope this helps!!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
JDBC Drivers need usually also available in the PATH Variable. I would recommend you add the above path to the PATH Variable, restart Tomcat and your SIA and try again.
Regards
-Seb.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Atul,
Thank for the screenshot.
Please try adding the full path of the jar files which you have added for hadoop
database in the sbo files :
1. Configure the hive.sbo (location: "Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\dataAccess\connectionServer\jdbc\hive.sbo") with jar file
entries.
Add
<DataBase Active="Yes" Name="Apache Hadoop HIVE">
<JDBCDriver>
<ClassPath>
<Path>C:\\<path of the jar file>\\name of the jar file </Path>
<Path>C:\\<path of the jar file>\\name of the jar file </Path>
<Path>C:\\<path of the jar file>\\name of the jar file </Path>
</ClassPath>
...
</JDBCDriver>
2. After configuring hive.sbo file start the connection server.
Kindly let me know if the issue still persists.
Regards,
Nakul Mehta
User | Count |
---|---|
87 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.