sam sen created AIRFLOW-1183: -------------------------------- Summary: How to pass Spark URL for standalone cluster? Key: AIRFLOW-1183 URL: https://issues.apache.org/jira/browse/AIRFLOW-1183 Project: Apache Airflow Issue Type: Bug Components: operators Affects Versions: Airflow 1.8 Reporter: sam sen Priority: Critical
How can I pass my Spark URL? When I look in the logs I see `--master` is pointed to "yarn." Also, the same thing for `cluster-mode`. I tried passing it within the function but I'm getting an error. ``` PendingDeprecationWarning: Invalid arguments were passed to SparkSubmitOperator. Support for passing such arguments will be dropped in Airflow 2.0. Invalid arguments were: *args: () **kwargs: {'deploy_mode': 'cluster', 'java_class': 'SimpleApp'}``` #Code ``` testSpark = SparkSubmitOperator( task_id='test-spark', deploy_mode='cluster', application='src/main/scala/target/scala-2.11/simple-project_2.11-1.0.jar', java_class='SimpleApp' dag=dag) ``` -- This message was sent by Atlassian JIRA (v6.3.15#6346)