Running spark .sh script

After finish running spark-shell .sh file, I could not run any command on command line, if try to enter any thing it can not be seen and after pressing enter, command line will continue to display like below:

    [nchakote@gw01 scala_script]$[nchakote@gw01 scala_script]$[nchakote@gw01        
     scala_script]$[nchakote@gw01 scala_script]$

I am facing same issue on my cloudera vm 5.7. I have given 10GB ram to my VM.

I have attached my .sh file here. Pls change the extension to .sh
revenueOrdersperDay.csv (873 Bytes)