I am using elastic map reduce from Amazon. I am sshing into hadoop master node and executing a script like.

`$EMR_BIN/elastic-mapreduce --jobflow $JOBFLOW --ssh < hivescript.sh` . It sshes me into the master node and runs the hive script. The hivescript contains the following lines 

`hive
add jar joda-time-1.6.jar;
add jar EmrHiveUtils-1.2.jar;`

and some commands to create hive tables. The script runs fine and creates the hive tables and everything else, but comes back to the prompt from where I ran the script. How do I leave it sshed into hadoop master node at the hive prompt.