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

Announcements
Learn how to migrate to Qlik Cloud Analytics™: On-Demand Briefing!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to create a context variable to configure hive connection

How to create a context variable to configure hive connection
Labels (2)
2 Replies
Anonymous
Not applicable
Author

Hello,

In a standard job design, you could create context group and contexts to prefix your Hive connection parameter.

Please refer to this documentation:https://help.talend.com/reader/QMTMLpSJZsUTFZjRCPBBNw/4m58SRFxu8gY9VPV2gZa1Q

Best regards

Sabrina

iamabhishek
Creator III
Creator III

To setup a Hive connection using context variables you could use the below approach - 
first create context group by defining all the required hive parameters additionally you could define multiple context environments (dev,test,prod)
0683p000009M5yP.jpg
Using the above context group setup a metadata connection for your Hive database - 
0683p000009M663.jpg0683p000009M668.jpg
Once done you could use your context and db metadata inside your Talend job - 
0683p000009M5vg.jpg