The method `_build_spark_submit_command` is a part of the `SparkSubmitHook` class in the `airflow.contrib.hooks` module of Python's Apache Airflow library. This method is responsible for constructing the command to submit a Spark application for execution. It includes building the necessary arguments and parameters for the Spark submit command, such as the Spark cluster mode, the main class or Python script to execute, and the Spark configurations. This method ensures that the correct command is constructed based on the provided parameters, allowing users to easily submit Spark applications through Airflow.
Python SparkSubmitHook._build_spark_submit_command - 22 examples found. These are the top rated real world Python examples of airflow.contrib.hooks.spark_submit_hook.SparkSubmitHook._build_spark_submit_command extracted from open source projects. You can rate examples to help us improve the quality of examples.