[ 
https://issues.apache.org/jira/browse/AIRFLOW-2428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16723724#comment-16723724
 ] 

ASF GitHub Bot commented on AIRFLOW-2428:
-----------------------------------------

stale[bot] closed pull request #3713: [AIRFLOW-2428] Add AutoScalingRole key to 
emr_hook
URL: https://github.com/apache/incubator-airflow/pull/3713
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/airflow/contrib/hooks/emr_hook.py 
b/airflow/contrib/hooks/emr_hook.py
index 6cd92c6d85..fc77b4dfb5 100644
--- a/airflow/contrib/hooks/emr_hook.py
+++ b/airflow/contrib/hooks/emr_hook.py
@@ -63,6 +63,8 @@ def create_job_flow(self, job_flow_overrides):
             VisibleToAllUsers=config.get('VisibleToAllUsers'),
             JobFlowRole=config.get('JobFlowRole'),
             ServiceRole=config.get('ServiceRole'),
+            AutoScalingRole=config.get('AutoScalingRole'),
+            ScaleDownBehavior=config.get('ScaleDownBehavior'),            
             Tags=config.get('Tags')
         )
 


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> Add AutoScalingRole key to emr_hook
> -----------------------------------
>
>                 Key: AIRFLOW-2428
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2428
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: hooks
>            Reporter: Kyle Hamlin
>            Priority: Minor
>             Fix For: 1.10.0
>
>
> Need to be able to pass the `AutoScalingRole` param to the `run_job_flow` 
> method for EMR autoscaling to work.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to