Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] HiveDB Connection needs my own SerDe

Hi. I'm trying to connect Open studio to Hive.

In Hive i have table with custom defined fields.
Open studio find table without problems, but if I try to Retrieve Schema i get such error:


pasteboard.co/NKgzjal.png

And in talend log i get:

!ENTRY org.talend.platform.logging 4 0 2015-09-21 10:49:12.375
!MESSAGE 2015-09-21 10:49:12,372 ERROR org.talend.commons.exception.CommonExceptionHandler  - java.lang.reflect.InvocationTargetException

!STACK 0
java.sql.SQLException: java.lang.reflect.InvocationTargetException
at org.talend.metadata.managment.hive.EmbeddedHiveDataBaseMetadata.getColumns(EmbeddedHiveDataBaseMetadata.java:401)
at org.talend.core.model.metadata.builder.database.manager.ExtractManager.getColumnsResultSet(ExtractManager.java:844)
at org.talend.core.model.metadata.builder.database.manager.ExtractManager.extractColumns(ExtractManager.java:641)
at org.talend.core.model.met


To see the whole post, download it here
Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hi 
I solved this problem.
I changed Hive connection settings from Embedded to standalone.
By default standalone connection is trying to read/write to Hive metastore. But all settings points on Hiveserver2. So i got this  java.lang.reflect.InvocationTargetException
With standalone  it uses Hiveserver2.

View solution in original post

1 Reply
Anonymous
Not applicable
Author

Hi 
I solved this problem.
I changed Hive connection settings from Embedded to standalone.
By default standalone connection is trying to read/write to Hive metastore. But all settings points on Hiveserver2. So i got this  java.lang.reflect.InvocationTargetException
With standalone  it uses Hiveserver2.