minor fix
This commit is contained in:
parent
c5ceaeb12b
commit
ef104b10e6
|
@ -36,6 +36,10 @@ from airflow import DAG
|
|||
from airflow.providers.cncf.kubernetes.operators.spark_kubernetes import SparkKubernetesOperator
|
||||
from airflow.providers.cncf.kubernetes.sensors.spark_kubernetes import SparkKubernetesSensor
|
||||
from airflow.utils.dates import days_ago
|
||||
import logging
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
# [END import_module]
|
||||
|
||||
|
@ -64,6 +68,11 @@ spec =SparkConfigurator(
|
|||
executor_memoryOverhead="3G"
|
||||
).get_configuration()
|
||||
|
||||
logger.info("found configuration")
|
||||
|
||||
logger.info(spec)
|
||||
|
||||
|
||||
dag = DAG(
|
||||
'spark_scholix',
|
||||
default_args=default_args,
|
||||
|
|
Loading…
Reference in New Issue