google-cloud-composer Questions
6
I am running Airflowv1.10.15 on Cloud Composer v1.16.16.
My DAG looks like this :
from datetime import datetime, timedelta
# imports
from airflow import DAG
from airflow.operators.python_operator ...
Barrault asked 18/9, 2021 at 5:15
2
What's the best way to retry an Airflow operator only for certain failures/exceptions?
For example, let's assume that I have an Airflow task which relies on the availability of an external service...
Unpin asked 26/6, 2019 at 13:59
10
Solved
I implemented a few tasks with BashOperator. Ones with "gsutil rm" and "gsutil cp" worked fine. But one with "gcloud alpha firestore export" generates this error:
{bash_operator.py:101} INFO - ERR...
Codeclination asked 9/9, 2018 at 21:42
2
I am running Airflow on Google's Cloud Composer. I am using the KubernetesPodOperator and would like to mount a google storage bucket to a directory in pod via gcsfuse. It seems like to do this I n...
Janettajanette asked 22/11, 2019 at 20:56
4
I'd like to get some clarification on whether Cloud Dataflow or Cloud Composer is the right tool for the job, and I wasn't clear from the Google Documentation.
Currently, I'm using Cloud Dat...
Gunslinger asked 11/1, 2019 at 22:20
2
I'm following the documentation for Google Cloud Composer to install Python dependencies from PyPI in an environment. I used this command to install the libraries from a requirements file:
$ gcloud...
Butterfish asked 7/6, 2019 at 19:11
3
Solved
I created a local project with apache Airflow and i want to run it in cloud composer. My project contains custom modules and a main file that calls them.
Example : from src.kuzzle import KuzzleQuer...
Amado asked 16/11, 2021 at 15:6
2
I want to get email notifications with Cloud Composer but I am unsure how to do that. How can I configure a Composer environment to send email notifications?
Georgeanngeorgeanna asked 1/5, 2018 at 20:40
1
Solved
I'm trying to set up a local development environment in VS Code where I'd get code completion for the packages Cloud Composer/Apache Airflow uses. I've been successful so far using a virtual enviro...
Marchall asked 19/5, 2022 at 18:29
2
In my Composer Airflow DAGs, I have been using the CloudSqlProxyRunner to connect to my Cloud SQL instance.
However, after updating Google Cloud Composer from v1.18.4 to 1.18.6, my DAG started to e...
Candidacandidacy asked 22/4, 2022 at 23:34
4
Solved
Given that GCP Cloud Composer is running with GKE/GCE, is it auto scaling?
Now I have 3 nodes in the cluster to support say, 100 DAGs.
Later, if I have about 300 DAGs, will it scale up itself (w/ c...
Lagunas asked 24/5, 2018 at 22:17
5
Solved
I'm running a DAG in Google Cloud Composer (hosted Airflow) which runs fine in Airflow locally. All it does is print "Hello World". However, when I run it through Cloud Composer I receive the error...
Tidwell asked 21/4, 2020 at 2:20
3
Solved
For a requirement I want to call/invoke a cloud function from inside a cloud composer pipeline but I cant find much info on it, I tried using SimpleHTTP airflow operator but I get this error:
[2021...
Darken asked 10/9, 2021 at 11:55
1
Solved
I have to add labels to the bigquery tables. I am aware of doing it through BigQuery UI but how can it be done through airflow operators.
Use case : For billing and searching purpose. As multiple t...
Distillery asked 16/11, 2021 at 15:43
1
Solved
I'm trying to run GKEStartPodOperator/KubernetesPodOperator tasks in a Composer 2 environment, which makes use of a GKE cluster in autopilot mode. We have an existing Composer 1 environment with a ...
Naivete asked 22/10, 2021 at 13:32
1
Solved
I have a directory structure as such:
airflow_dags
├── dags
│ └── hk
│ └── hk_dag.py
├── plugins
│ └── cse
│ └── operators.py
│ └── cse_to_bq.py
└── test
└── dags
└── dag_test.py
In the G...
Selfcommand asked 18/10, 2021 at 11:54
1
Solved
Currently working on setting up alerts for long running tasks in Airflow. To cancel/fail the airflow dag I've put "dagrun_timeout" in the default_args, and it does what I need, fails/erro...
Whidah asked 24/9, 2021 at 9:24
6
I am trying to setup a Google Cloud Platform connection in Google Cloud Composer using the service account key. So I created a GCS bucket and put the service account key file in the bucket. The key...
Replica asked 6/6, 2018 at 0:2
0
So I want to create a dag that creates dynamic tasks based on messages passed from the previous dag.
ex:-
I have a master dag and a slave dag.
from master dag, I pass a list of countries ex: [us,uk...
Wellestablished asked 2/7, 2021 at 9:24
1
Solved
I have several multi-purpose shell scripts stored in .sh files. My intention is to build a few Airflow DAGs on Cloud Composer that will leverage these scripts. The DAGs would be made mostly of Bash...
Scrounge asked 1/7, 2021 at 15:30
5
We recently met a known issue on airflow:
Airflow "This DAG isnt available in the webserver DagBag object "
Now we used a temporary solution to restart whole environment by changing ...
Crying asked 12/11, 2018 at 4:56
3
Solved
I'm using the BigQueryOperator extenstively in my Airflow DAGs on Google Cloud Composer.
For longer queries, it's better to put each query in its own .sql file rather than cluttering up the DAG wi...
Honorarium asked 8/6, 2018 at 12:51
0
We have relatively complex dynamic DAG as part of our ETL. DAG contains hundreds of transformations and it is created programmatically based on set of yaml files. It is changed through time: new ta...
Sinistrad asked 4/6, 2021 at 7:6
0
I am running Airflow (1.10.9) through Cloud Composer (1.11.1) on GCP.
Whenever I update a DAG's code I can see the updated code refreshed in the Airflow GUI but for at least 10 minutes the DAG's ta...
Countryside asked 1/6, 2021 at 10:44
3
Solved
When I need to restart the webserver locally I do:
ps -ef | grep airflow | awk '{print $2}' | xargs kill -9
airflow webserver -p 8080 -D
How can I do this on Google Composer? I don't see an opti...
Monoceros asked 17/7, 2018 at 14:19
1 Next >
© 2022 - 2024 — McMap. All rights reserved.