You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "haeseong-prestolabs (via GitHub)" <gi...@apache.org> on 2023/06/22 06:38:09 UTC

[GitHub] [airflow] haeseong-prestolabs opened a new issue, #32068: AioRpcError in DataprocCreateBatchOperator

haeseong-prestolabs opened a new issue, #32068:
URL: https://github.com/apache/airflow/issues/32068

   ### Apache Airflow version
   
   Other Airflow 2 version (please specify below)
   
   ### What happened
   
   Airflow version: 2.3.4 (Composer 2.1.12)
   
   I've been using the `DataprocCreateBatchOperator` with the `deferrable=True` option. It worked well for the past few months, but an error started appearing on June 21, 2023, at 16:51 UTC. The error message is as follows:
   ```
   grpc.aio._call.AioRpcError: <AioRpcError of RPC that terminated with:
   	status = StatusCode.INVALID_ARGUMENT
   	details = "Request contains an invalid argument."
   	debug_error_string = "UNKNOWN:Error received from peer ipv4:74.125.69.95:443 {grpc_message:"Request contains an invalid argument.", grpc_status:3, created_time:"2023-06-21T16:51:22.992951359+00:00"}"
   ```
   
   ### What you think should happen instead
   
   The name argument in the [hook code](https://github.com/apache/airflow/blob/main/airflow/providers/google/cloud/hooks/dataproc.py#L1746) follows the format "projects/PROJECT_ID/regions/DATAPROC_REGION/batches/BATCH_ID". However, according to the [Google Cloud DataProc API Reference](https://cloud.google.com/dataproc-serverless/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.GetBatchRequest), it should be in the format "projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID .
   
   ### How to reproduce
   
   just run a dataproc operator like this
   ```
   create_batch = DataprocCreateBatchOperator(
           task_id="create_batch",
           batch_id="batch_test",
           deferrable=True,
       )
   ```
   
   ### Operating System
   
   Ubuntu 20.04
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Google Cloud Composer
   
   ### Deployment details
   
   Composer 2.1.12
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airflow] haeseong-prestolabs closed issue #32068: AioRpcError in DataprocCreateBatchOperator

Posted by "haeseong-prestolabs (via GitHub)" <gi...@apache.org>.
haeseong-prestolabs closed issue #32068: AioRpcError in DataprocCreateBatchOperator
URL: https://github.com/apache/airflow/issues/32068


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airflow] boring-cyborg[bot] commented on issue #32068: AioRpcError in DataprocCreateBatchOperator

Posted by "boring-cyborg[bot] (via GitHub)" <gi...@apache.org>.
boring-cyborg[bot] commented on issue #32068:
URL: https://github.com/apache/airflow/issues/32068#issuecomment-1602087189

   Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org