Skip to Content

HIVE CONNECTION FOR UNIVERSES (UNX)

Hello:

We are using linux platform for SAP BO 4.0 sp04 fp3. We are trying to configure hive connection from Information Designer Tool. We have followed the steps describe in the data access guide and we haven´t got success:

  • install jar´s for hive 0.7.1 in client and server sides, on connectionserver-install-dir\connectionServer\jdbc\drivers\hive directory

commons-logging-1.0.4.jar

hadoop-0.20.0-core.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

slf4j-api-1.6.1.jar

slf4j-log4j12-1.6.1.jar

  • add connectionserver-install-dir\connectionServer\jdbc\drivers\hive to the PATH var in client and server sides.
  • modify hive.sbo file to add lines for each .jar we installed before, in client and server sides:

For instance, in server, we have added the blue text

<DataBase Active="Yes" Name="Apache Hadoop HIVE">

<JDBCDriver>

<ClassPath>

<Path><connectionserver-install-dir>/connectionServer/jdbc/drivers/hive/hive-service-0.7.1.jar</Path>

<Path><connectionserver-install-dir>/connectionServer/jdbc/drivers/hive/hadoop-0.20.0-core.jar</Path>

<Path><connectionserver-install-dir>/connectionServer/jdbc/drivers/hive/hive-exec-0.7.1.jar</Path>

<Path><connectionserver-install-dir>/connectionServer/jdbc/drivers/hive/hive-jdbc-0.7.1.jar</Path>

<Path><connectionserver-install-dir>/connectionServer/jdbc/drivers/hive/hive-metastore-0.7.1.jar</Path>

<Path><connectionserver-install-dir>/connectionServer/jdbc/drivers/hive/commons-logging-1.0.4.jar</Path>

<Path><connectionserver-install-dir>/connectionServer/jdbc/drivers/hive/libfb303.jar</Path>

<Path><connectionserver-install-dir>/connectionServer/jdbc/drivers/hive/log4j-1.2.16.jar</Path>

<Path><connectionserver-install-dir>/connectionServer/jdbc/drivers/hive/slf4j-api-1.6.1.jar</Path>

<Path><connectionserver-install-dir>/connectionServer/jdbc/drivers/hive/slf4j-log4j12-1.6.1.jar</Path>

</ClassPath>

.....

  • restart tomcat and all bo servers


When we test the connection, we get the error message "Method not supported".


We have found some discussions with similar problems (). After trying to implement the solution described in the link, we are still getting the same error message.


Any help on this issue would be highly appreciated.

Thanks,

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jun 04, 2014 at 01:58 PM

    Hello,

    the support of HIVE 0.20.2 has been introduced with SAP BI 4.0 SP5.

    The Support of HIVE 1.0 has been introduced with SAP BI 4.0 SP7.

    In other words, your Version SAP BI 4.0 SP4 Patch 3 is to old.

    Please update to the latest Version of SAP BI 4.0 or even better SAP BI 4.1 SP3.

    Regards

    -Seb.

    Add a comment
    10|10000 characters needed characters exceeded

    • Hello Sebastian:

      Thanks for your replay.

      The version we have installed for SAP BO is 4.0 SP4, included fp3, and for hive, the version is 0.7.1. I read the instructions about create a connection to the Apache Hadoop HIVE 0.7.1 in the data access guide of SAP BO 4.0 SP4, so I suppose that the guide is not wrong. Perhaps you are right about more recent versions of HIVE supported by SAP BO, but we are using an older one : 0.7.1.

      Best regards,

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.