Reply
New Contributor
Posts: 3
Registered: ‎01-28-2018

Executing multiple hive scripts in a folder

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

Champion
Posts: 761
Registered: ‎05-16-2016

Re: Executing multiple hive scripts in a folder

Would you consider using python . 

please refer the below url 

 

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

Highlighted
New Contributor
Posts: 3
Registered: ‎01-28-2018

Re: Executing multiple hive scripts in a folder

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