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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Izhar_Firdaus
Contributor
Contributor

missing zookeeper jar file when try to create hive connection using tHiveConnection

Hi Talend,

Currently im trying to create hive connection using tHiveConnection upon setup the details and run the job i encounter an error mention that "Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/zookeeper/KeeperException$ConnectionLossException" would like to know what jar file is required and what is the proper way of loading the jar file into tHiveConnection.

0695b00000QDndgAAD.png

warm regards.

Labels (2)
5 Replies
Anonymous
Not applicable

Hello,

Talend Studio requires specific third-party Java libraries or database drivers to be installed to connect to sources and targets.

Those libraries or database drivers, known as external modules, may be required by some of Talend components or by some connection wizards or by both. Due to license restrictions, Talend cannot ship some of these external modules within Talend Studio. You need to install them for your Studio to function properly.

Could you please follow the steps mentioned in this link: TalendHelpCenter: TalendHelpCenter: Installing external modules to see if it works.

Best regards

Sabrina

 

 

 

Izhar_Firdaus
Contributor
Contributor
Author

Hi sabrina,

 

Thanks for the reply so far i manage to fix the issue by importing the jar using tLibraryLoader. Next question is it possible for me to pass the tHiveConnection connection to tJava component?.

 

Warm regards.

Anonymous
Not applicable

Hello,

Is there any specific requirement for your to pass the tHiveConnection connection to tJava component? Please give us a little bit information and background about your scenario, which will be helpful for us to give a precise solution to you.

Best regards

Sabrina

Izhar_Firdaus
Contributor
Contributor
Author

Hi Sabrina,

 

Currently im trying to access into hive database and extract the table name, and will do some table comparison. so rather using tHiveRow component i was wondering is it possible to pass the tHiveConnection connection to tJava so i can proceed to do some customize java code.

 

 

Best Regards

Anonymous
Not applicable

Hello,

The tHiveInput component are able to extract data from Hive and sends the data to the component that follows.

Please have a look at this component reference about: TalendHelpCenter: tHiveInput

The component in this framework is available in all Talend products with Big Data and in Talend Data Fabric and is not shipped with your Talend Studio by default. You need to install it using the Feature Manager. For more information, see Installing features using the Feature Manager.

Feel free to let us know if it is what you are looking for.

Best regards

Sabrina