mikolaje commented on a change in pull request #6795: Adjust the MASTER_URL of 
spark-submit in SparkSubmitHook
URL: https://github.com/apache/airflow/pull/6795#discussion_r357126152
 
 

 ##########
 File path: airflow/contrib/hooks/spark_submit_hook.py
 ##########
 @@ -185,6 +185,8 @@ def _resolve_connection(self):
                 conn_data['master'] = "{}:{}".format(conn.host, conn.port)
             else:
                 conn_data['master'] = conn.host
+            if conn.uri:
+                conn_data['master'] = conn.uri
 
 Review comment:
   Oh, thanks for your remind, I updated the code, taking the query params into 
consideration. Please review again.

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


With regards,
Apache Git Services

Reply via email to