Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Executing multiple hive scripts in a folder

Highlighted

Executing multiple hive scripts in a folder

Explorer

Need to execute few hive scripts one after the other placed in a unix folder.. Looks like need to have a shell script in place which connects to Hive. Any input will be appreciated. Thanks

2 REPLIES 2
Highlighted

Re: Executing multiple hive scripts in a folder

Champion

Would you consider using python . 

please refer the below url 

 

https://cwiki.apache.org/confluence/display/Hive/HiveClient#HiveClient-Python

Re: Executing multiple hive scripts in a folder

Explorer

Had figured out a solution, and shared it on my blog..

 

https://tips-to-code.blogspot.com/2018/07/automated-bash-script-to-export-all.html

 

Don't have an account?
Coming from Hortonworks? Activate your account here