You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/05/04 13:52:08 UTC
[GitHub] [airflow] SamWheating edited a comment on issue #15652: All Dataproc operators raise 404 error
SamWheating edited a comment on issue #15652:
URL: https://github.com/apache/airflow/issues/15652#issuecomment-831957893
I see you're passing `region="us-central1-a"` into your Dataproc operators.
From my understanding this is a google cloud Zone, within the `us-central1` Region. Could you try passing `region="us-central1"` into your operators instead. I believe the URLs used in the dataproc client are based on the provided region
https://github.com/apache/airflow/blob/32c63626845b9885c2349190ba9e44691007bbdb/airflow/providers/google/cloud/hooks/dataproc.py#L294
https://github.com/apache/airflow/blob/32c63626845b9885c2349190ba9e44691007bbdb/airflow/providers/google/cloud/hooks/dataproc.py#L214
So I think this could explain the 404 error you're seeing.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org