-------------------------------------------------------------------------------- Starting attempt 1 of 3 -------------------------------------------------------------------------------- [2018-05-07 10:49:45,442] {models.py:1427} INFO - Executing <Task(BigQueryOperator): validate_delete_14> on 2018-05-06 00:00:00 [2018-05-07 10:49:45,445] {base_task_runner.py:115} INFO - Running: ['bash', '-c', u'airflow run gdpr_delete_lite_video_hourly_dag_prod validate_delete_14 2018-05-06T00:00:00 --job_id 4256 --raw -sd DAGS_FOLDER/gdpr_delete_lite_video_hourly_dag_prod.py']
--
You received this message because you are subscribed to the Google Groups "cloud-composer-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-composer-discuss+unsubscri...@googlegroups.com.
To post to this group, send email to cloud-composer-discuss@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-composer-discuss/c6dc5699-83b8-482e-bcc0-454852619835%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Jayesh,Can you please follow the instructions below to connect to Flower and check whether the stuck tasks are arriving in the Celery queue?Best,
- Install flower: gcloud beta composer environments update ENVIRONMENT_NAME --update-pypi-package "flower"
- Determine the Cloud Composer environment's Kubernetes Engine cluster
- Connect to the Kubernetes Engine cluster
- Select a worker (or scheduler) pod (matches regex "airflow-(worker|scheduler)-[-a-f0-9]+"): kubectl get pods
- Run flower on the selected worker pod: kubectl exec -it POD_NAME_FROM_ABOVE -c airflow-worker -- flower --broker=redis://airflow-redis-service:6379/0 --port=5555
- In a separate, parallel session, forward local port to flower: kubectl port-forward POD_NAME_FROM_ABOVE 5555
- Visit http://localhost:5555/ in your local browser.
Wilson
On Mon, May 7, 2018 at 9:39 AM, jayeshs via cloud-composer-discuss <cloud-compo...@googlegroups.com> wrote:
Hi,I see an issue where our dag has scheduled to be run but it is sitting idle, I know for sure that job that I am running wont take more than 5 mins, here are the logs that I see --------------------------------------------------------------------------------- Starting attempt 1 of 3 -------------------------------------------------------------------------------- [2018-05-07 10:49:45,442] {models.py:1427} INFO - Executing <Task(BigQueryOperator): validate_delete_14> on 2018-05-06 00:00:00 [2018-05-07 10:49:45,445] {base_task_runner.py:115} INFO - Running: ['bash', '-c', u'airflow run gdpr_delete_lite_video_hourly_dag_prod validate_delete_14 2018-05-06T00:00:00 --job_id 4256 --raw -sd DAGS_FOLDER/gdpr_delete_lite_video_hourly_dag_prod.py']It's been 7 hours not and their is no progress after above statement. This is happening to multiple jobs.Thanks,Jayesh
--
You received this message because you are subscribed to the Google Groups "cloud-composer-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-composer-discuss+unsub...@googlegroups.com.
To post to this group, send email to cloud-compo...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-composer-discuss+unsubscri...@googlegroups.com.
To post to this group, send email to cloud-compo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-composer-discuss/c6dc5699-83b8-482e-bcc0-454852619835%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "cloud-composer-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-composer-discuss+unsub...@googlegroups.com.
To post to this group, send email to cloud-composer-discuss@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-composer-discuss/79d5cd09-29ab-47f5-898f-c02b3099d943%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-composer-discuss+unsub...@googlegroups.com.
To post to this group, send email to cloud-compo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-composer-discuss/c6dc5699-83b8-482e-bcc0-454852619835%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "cloud-composer-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-composer-discuss+unsub...@googlegroups.com.
To post to this group, send email to cloud-compo...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-composer-di...@googlegroups.com.
To post to this group, send email to cloud-compo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-composer-discuss/c6dc5699-83b8-482e-bcc0-454852619835%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "cloud-composer-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-composer-di...@googlegroups.com.
To post to this group, send email to cloud-compo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-composer-discuss/79d5cd09-29ab-47f5-898f-c02b3099d943%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "cloud-composer-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-composer-di...@googlegroups.com.
To post to this group, send email to cloud-compo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-composer-discuss/47bbc0c9-7629-404e-b64c-343d899ef453%40googlegroups.com.
Possible solutions:- minimize worker pod restart events by not exceeding resource limits (e.g., use more powerful VMs, reduce parallelism).- we are working on a patch that detects this bad state and sends the task to celeryexecutor again for execution.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-composer-discuss+unsub...@googlegroups.com.
To post to this group, send email to cloud-compo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-composer-discuss/c6dc5699-83b8-482e-bcc0-454852619835%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "cloud-composer-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-composer-discuss+unsub...@googlegroups.com.
To post to this group, send email to cloud-compo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-composer-discuss/79d5cd09-29ab-47f5-898f-c02b3099d943%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "cloud-composer-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-composer-discuss+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-composer-di...@googlegroups.com.
To post to this group, send email to cloud-compo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-composer-discuss/c6dc5699-83b8-482e-bcc0-454852619835%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "cloud-composer-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-composer-di...@googlegroups.com.
To post to this group, send email to cloud-compo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-composer-discuss/79d5cd09-29ab-47f5-898f-c02b3099d943%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "cloud-composer-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-composer-di...@googlegroups.com.
To post to this group, send email to cloud-compo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-composer-discuss/47bbc0c9-7629-404e-b64c-343d899ef453%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "cloud-composer-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-composer-di...@googlegroups.com.
To post to this group, send email to cloud-compo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-composer-discuss/ee4a67b9-8960-4718-b1d0-b56d879a6c50%40googlegroups.com.
Please do not include any Protected Health Information (PHI) when responding to this email!FIGmd does not transmit via email any healthcare information protected by federal and/or state laws unless authorized by the subject patient or under circumstances where patient authorization is not required. If FIGmd receives PHI directly from a subject patient, we consider this to be an authorized distribution of PHI by the subject patient.This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message (or any attachment) is prohibited. If you have received this email in error, please notify the original sender and delete this message (along with any attachments) from your computer and if possible your server.
--
You received this message because you are subscribed to the Google Groups "cloud-composer-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-composer-di...@googlegroups.com.
To post to this group, send email to cloud-compo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-composer-discuss/6ea47936-1878-459b-8542-acaa4f175908%40googlegroups.com.
Hi Skyler,Thanks for your response..."On our self-hosted Airflow, we use PostgreSQL for our result backed" means you installed airflow in your server then the problem was solved?Is there anyway to change celery use back-end postgres?Thanks,Rajashekar.
Skyler Slade Director of Site Reliability |
![]() |
T: +1 352-317-2537 E: sky...@sharpspring.com W: www.sharpspring.com |
![]() ![]() ![]() |
broker_url = redis://airflow-redis-service:xxxx/0 result_backend = redis://airflow-redis-service:xxxx/0
broker_url = redis://redis-host:6379/1
result_backend = db+postgresql://my-db-user:my-db-pass@postgres-host/airflow
Please do not include any Protected Health Information (PHI) when responding to this email!FIGmd does not transmit via email any healthcare information protected by federal and/or state laws unless authorized by the subject patient or under circumstances where patient authorization is not required. If FIGmd receives PHI directly from a subject patient, we consider this to be an authorized distribution of PHI by the subject patient.This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message (or any attachment) is prohibited. If you have received this email in error, please notify the original sender and delete this message (along with any attachments) from your computer and if possible your server.
--
You received this message because you are subscribed to the Google Groups "cloud-composer-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-composer-di...@googlegroups.com.
To post to this group, send email to cloud-compo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-composer-discuss/6ea47936-1878-459b-8542-acaa4f175908%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "cloud-composer-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-composer-di...@googlegroups.com.
To post to this group, send email to cloud-compo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-composer-discuss/cc12d40e-b766-46ca-b435-dad46446cfc9%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-composer-discuss/CAHSGwOoXjaXgnYAoavzor%2Bte3s9y_W8NO0390w_VOYsmgcs0jQ%40mail.gmail.com.