user2531569 user2531569 - 1 year ago 159
Bash Question

how to invoke shell script in hive

Could someone please explain me how to invoke a shell script from hive?. I explored on this and found that we have to use

source FILE
command to invoke a shell script from hive. But I am not sure how exactly I can call my shell script from hive using
source File
command. So can someone help me on this? Thanks in Advance.

Answer Source

To invoke a shell script through HIVE CLI, please look at the example below.




Please go though Hive Interactive Shell Commands section in the link below for more information.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download