DEV Community

loading...

Is there an option to print EMR Hive SQL realtime log while executing remotely through SSH?

Sooraj Antony
・1 min read

I had a recent Hive version upgrade from 1.2.1 to 2.3.0, along with a movement from HDP-EC2 to EMR.
Below is the shell script format using which i execute all the queries,

ssh -T -i key.pem uname@99.99.99.99 <<EOF
hive <<EO1
     <Hive-Query>
EO1
EOF

In version 1.2.1, the running shell script…

Discussion (0)