Created
February 22, 2019 19:25
-
-
Save ranjitiyer/e38b6de9859fef358644b346fb385b78 to your computer and use it in GitHub Desktop.
Submit EMR steps
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
# submit a step to run a command on a cluster | |
AWS_PROFILE=integ-preprod aws emr add-steps \ | |
--cluster-id j-32M91WVU0V1OR \ | |
--steps Name="Create table",ActionOnFailure=CONTINUE,Jar=command-runner.jar,Args=[beeline,-u,jdbc:hive2://ec2-52-91-119-206.compute-1.amazonaws.com:10000,-n,admin,-p,admin,-e,"create table d417f3333(id INT, value STRING);"] --region us-east-1 --endpoint https://emr-preprod-us-east-1.amazon.com --no-verify |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment