Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3441

How to connect to Hbase using a jdbc driver?

$
0
0

Hi Everyone,

 

We have a requirement to connect to Hbase using a jdbc drive. Could you please help me understand what exact configuration files need a change and what all are required?  Below are the details i have:

 

1. Environment is BO 4.1 SP5

2. JDBC driver: phoenix-client.jar  (from apache)

3. A JDBC URL and class name along with HBASE dB details.

 

Tried creating a Generic jdbc connection and the test fails.  Have followed the below steps:

 

1. Created a folder hbase and placed the jar file in D:\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\dataAccess\connectionServer\jdbc\drivers\hbase\phoenix-client.jar

2.  Edited the jdbc.sbo as below:

 

<Defaults>

        <Class JARFile="dbd_jdbc">com.sap.connectivity.cs.java.drivers.jdbc.JDBCDriver</Class>

        <JDBCDriver>

            <ClassPath>

                <Path>$ROOT$/drivers/java/dbd_jdbcwrapper.jar</Path>

<Path>$ROOT$/drivers/hbase/phoenix-client.jar</Path>

            </ClassPath>

            <Parameter Name="JDBC Wrapper">com.sap.connectivity.cs.java.drivers.jdbc.wrapper.JDBCWrapper</Parameter>

        </JDBCDriver>

 

3. Trying to create a generic jdbc connection and the test fails.

 

Not exactly sure how to edit jdbc.sbo and would need all your help here!!.


Viewing all articles
Browse latest Browse all 3441

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>