airflow.contrib.hooks.gcp_dataproc_hook
¶
Module Contents¶
-
class
airflow.contrib.hooks.gcp_dataproc_hook.
_DataProcJob
(dataproc_api, project_id, job, region='global', job_error_states=None)[source]¶ Bases:
airflow.utils.log.logging_mixin.LoggingMixin
-
class
airflow.contrib.hooks.gcp_dataproc_hook.
_DataProcJobBuilder
(project_id, task_id, cluster_name, job_type, properties)[source]¶
-
class
airflow.contrib.hooks.gcp_dataproc_hook.
_DataProcOperation
(dataproc_api, operation)[source]¶ Bases:
airflow.utils.log.logging_mixin.LoggingMixin
Continuously polls Dataproc Operation until it completes.
-
class
airflow.contrib.hooks.gcp_dataproc_hook.
DataProcHook
(gcp_conn_id='google_cloud_default', delegate_to=None, api_version='v1beta2')[source]¶ Bases:
airflow.contrib.hooks.gcp_api_base_hook.GoogleCloudBaseHook
Hook for Google Cloud Dataproc APIs.