-->

Thursday, January 28, 2016

How to Add A Hive Step to a Running Cluster on EMR

Put the file on S3:

s3cmd put temp_1_load_logs_20160126.sql s3://my-bucket/

Add the step:

aws emr add-steps --cluster-id j-XXXXXXX --steps Type=Hive,Name="load logs",Args=[-f,s3://my-bucket/temp_1_load_logs_20160126.sql]

No comments:

Post a Comment