Created
November 11, 2015 16:48
-
-
Save nsabharwal/1a75f2ca99ec72c57e15 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
read -p "enter HS2 hostname: " HS2 | |
read -p "enter username: " username | |
echo "enter password" | |
read -s passwd | |
read -p "enter filename: " filename | |
beeline -u jdbc:hive2://$HS2:10000/default -n $username -p $passwd -f $filename |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment