From 3137bee846002fe6c1e40d410ed0310e3fe86c0c Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 5 Jun 2020 09:44:25 -0700 Subject: [PATCH] fix: increase timeout for `ClusterController` in v1 (#36) * fix: dataproc/v1 raise timeouts in gapic v2 PiperOrigin-RevId: 314840739 Source-Author: Google APIs Source-Date: Thu Jun 4 18:03:14 2020 -0700 Source-Repo: googleapis/googleapis Source-Sha: 150cfa0d994f9656c57eb4ed50f49c2f2add93f2 Source-Link: https://github.com/googleapis/googleapis/commit/150cfa0d994f9656c57eb4ed50f49c2f2add93f2 --- .../dataproc_v1/gapic/cluster_controller_client_config.py | 4 ++-- google/cloud/dataproc_v1/proto/jobs.proto | 5 +++-- google/cloud/dataproc_v1/proto/jobs_pb2.py | 5 +++-- google/cloud/dataproc_v1beta2/proto/jobs.proto | 5 +++-- google/cloud/dataproc_v1beta2/proto/jobs_pb2.py | 5 +++-- synth.metadata | 4 ++-- 6 files changed, 16 insertions(+), 12 deletions(-) diff --git a/google/cloud/dataproc_v1/gapic/cluster_controller_client_config.py b/google/cloud/dataproc_v1/gapic/cluster_controller_client_config.py index 17ed4faf..a1081c8d 100644 --- a/google/cloud/dataproc_v1/gapic/cluster_controller_client_config.py +++ b/google/cloud/dataproc_v1/gapic/cluster_controller_client_config.py @@ -10,9 +10,9 @@ "initial_retry_delay_millis": 100, "retry_delay_multiplier": 1.3, "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 10000, + "initial_rpc_timeout_millis": 30000, "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 10000, + "max_rpc_timeout_millis": 30000, "total_timeout_millis": 300000, } }, diff --git a/google/cloud/dataproc_v1/proto/jobs.proto b/google/cloud/dataproc_v1/proto/jobs.proto index 0379c09d..b9026f62 100644 --- a/google/cloud/dataproc_v1/proto/jobs.proto +++ b/google/cloud/dataproc_v1/proto/jobs.proto @@ -435,8 +435,9 @@ message SparkRJob { // A Dataproc job for running [Presto](https://prestosql.io/) queries. // **IMPORTANT**: The [Dataproc Presto Optional -// Component](/dataproc/docs/concepts/components/presto) must be enabled when -// the cluster is created to submit a Presto job to the cluster. +// Component](https://cloud.google.com/dataproc/docs/concepts/components/presto) +// must be enabled when the cluster is created to submit a Presto job to the +// cluster. message PrestoJob { // Required. The sequence of Presto queries to execute, specified as // either an HCFS file URI or as a list of queries. diff --git a/google/cloud/dataproc_v1/proto/jobs_pb2.py b/google/cloud/dataproc_v1/proto/jobs_pb2.py index 5eff1116..145d9007 100644 --- a/google/cloud/dataproc_v1/proto/jobs_pb2.py +++ b/google/cloud/dataproc_v1/proto/jobs_pb2.py @@ -4718,8 +4718,9 @@ "__module__": "google.cloud.dataproc_v1.proto.jobs_pb2", "__doc__": """A Dataproc job for running `Presto `__ queries. **IMPORTANT**: The `Dataproc Presto Optional Component - `__ must be enabled when - the cluster is created to submit a Presto job to the cluster. + `__ + must be enabled when the cluster is created to submit a Presto job to + the cluster. Attributes: queries: Required. The sequence of Presto queries to execute, specified diff --git a/google/cloud/dataproc_v1beta2/proto/jobs.proto b/google/cloud/dataproc_v1beta2/proto/jobs.proto index 325dc9e5..9d9aaae0 100644 --- a/google/cloud/dataproc_v1beta2/proto/jobs.proto +++ b/google/cloud/dataproc_v1beta2/proto/jobs.proto @@ -435,8 +435,9 @@ message SparkRJob { // A Dataproc job for running [Presto](https://prestosql.io/) queries. // **IMPORTANT**: The [Dataproc Presto Optional -// Component](/dataproc/docs/concepts/components/presto) must be enabled when -// the cluster is created to submit a Presto job to the cluster. +// Component](https://cloud.google.com/dataproc/docs/concepts/components/presto) +// must be enabled when the cluster is created to submit a Presto job to the +// cluster. message PrestoJob { // Required. The sequence of Presto queries to execute, specified as // either an HCFS file URI or as a list of queries. diff --git a/google/cloud/dataproc_v1beta2/proto/jobs_pb2.py b/google/cloud/dataproc_v1beta2/proto/jobs_pb2.py index d50ac093..f7737363 100644 --- a/google/cloud/dataproc_v1beta2/proto/jobs_pb2.py +++ b/google/cloud/dataproc_v1beta2/proto/jobs_pb2.py @@ -4735,8 +4735,9 @@ class or the main class name. To pass both a main jar and a main class "__module__": "google.cloud.dataproc_v1beta2.proto.jobs_pb2", "__doc__": """A Dataproc job for running `Presto `__ queries. **IMPORTANT**: The `Dataproc Presto Optional Component - `__ must be enabled when - the cluster is created to submit a Presto job to the cluster. + `__ + must be enabled when the cluster is created to submit a Presto job to + the cluster. Attributes: queries: Required. The sequence of Presto queries to execute, specified diff --git a/synth.metadata b/synth.metadata index 2b01ec86..3f04b2c8 100644 --- a/synth.metadata +++ b/synth.metadata @@ -11,8 +11,8 @@ "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "3a4894c4f0da3e763aca2c67bd280ae915177450", - "internalRef": "314363155" + "sha": "cd804bab06e46dd1a4f16c32155fd3cddb931b52", + "internalRef": "314879617" } }, {