Support Questions

Find answers, ask questions, and share your expertise

Executing multiple hive scripts in a folder

avatar
Contributor

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

avatar
Champion

Would you consider using python . 

please refer the below url 

 

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

avatar
Contributor

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