google-cloud-dataproc-v1 0.12.0 → 0.13.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8e75c2e5bee163cd428a8155406d32438bdeedaeec28b7710008ce7df4a7da25
|
4
|
+
data.tar.gz: d5bd45a016c39f8b9d01ebcb4a93d6c4c1359ebba133b6c0b9c4a99fb73f6e92
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0681451488f7689d38c141c2c3384250f6fc0fa791a855e1c87db4f61d7e7180cf3ab639fc7637c60837353bc4e0c1b3e1c67fed32078524f6c48c35f8b11528'
|
7
|
+
data.tar.gz: 2d411b612573a8e075f67ac0544dc5358b6fd7a1be5f294560e9877b675affdb0c7c3848256faa462b5bf55d3e9755901d9eb57658707ae688af7acdc7b07a06
|
data/AUTHENTICATION.md
CHANGED
@@ -114,7 +114,7 @@ credentials are discovered.
|
|
114
114
|
To configure your system for this, simply:
|
115
115
|
|
116
116
|
1. [Download and install the Cloud SDK](https://cloud.google.com/sdk)
|
117
|
-
2. Authenticate using OAuth 2.0 `$ gcloud auth login`
|
117
|
+
2. Authenticate using OAuth 2.0 `$ gcloud auth application-default login`
|
118
118
|
3. Write code as if already authenticated.
|
119
119
|
|
120
120
|
**NOTE:** This is _not_ recommended for running in production. The Cloud SDK
|
@@ -41,6 +41,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
41
41
|
optional :lifecycle_config, :message, 17, "google.cloud.dataproc.v1.LifecycleConfig"
|
42
42
|
optional :endpoint_config, :message, 19, "google.cloud.dataproc.v1.EndpointConfig"
|
43
43
|
optional :metastore_config, :message, 20, "google.cloud.dataproc.v1.MetastoreConfig"
|
44
|
+
optional :dataproc_metric_config, :message, 23, "google.cloud.dataproc.v1.DataprocMetricConfig"
|
44
45
|
end
|
45
46
|
add_message "google.cloud.dataproc.v1.VirtualClusterConfig" do
|
46
47
|
optional :staging_bucket, :string, 1
|
@@ -193,6 +194,22 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
193
194
|
add_message "google.cloud.dataproc.v1.MetastoreConfig" do
|
194
195
|
optional :dataproc_metastore_service, :string, 1
|
195
196
|
end
|
197
|
+
add_message "google.cloud.dataproc.v1.DataprocMetricConfig" do
|
198
|
+
repeated :metrics, :message, 1, "google.cloud.dataproc.v1.DataprocMetricConfig.Metric"
|
199
|
+
end
|
200
|
+
add_message "google.cloud.dataproc.v1.DataprocMetricConfig.Metric" do
|
201
|
+
optional :metric_source, :enum, 1, "google.cloud.dataproc.v1.DataprocMetricConfig.MetricSource"
|
202
|
+
repeated :metric_overrides, :string, 2
|
203
|
+
end
|
204
|
+
add_enum "google.cloud.dataproc.v1.DataprocMetricConfig.MetricSource" do
|
205
|
+
value :METRIC_SOURCE_UNSPECIFIED, 0
|
206
|
+
value :MONITORING_AGENT_DEFAULTS, 1
|
207
|
+
value :HDFS, 2
|
208
|
+
value :SPARK, 3
|
209
|
+
value :YARN, 4
|
210
|
+
value :SPARK_HISTORY_SERVER, 5
|
211
|
+
value :HIVESERVER2, 6
|
212
|
+
end
|
196
213
|
add_message "google.cloud.dataproc.v1.ClusterMetrics" do
|
197
214
|
map :hdfs_metrics, :string, :int64, 1
|
198
215
|
map :yarn_metrics, :string, :int64, 2
|
@@ -303,6 +320,9 @@ module Google
|
|
303
320
|
SoftwareConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataproc.v1.SoftwareConfig").msgclass
|
304
321
|
LifecycleConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataproc.v1.LifecycleConfig").msgclass
|
305
322
|
MetastoreConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataproc.v1.MetastoreConfig").msgclass
|
323
|
+
DataprocMetricConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataproc.v1.DataprocMetricConfig").msgclass
|
324
|
+
DataprocMetricConfig::Metric = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataproc.v1.DataprocMetricConfig.Metric").msgclass
|
325
|
+
DataprocMetricConfig::MetricSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataproc.v1.DataprocMetricConfig.MetricSource").enummodule
|
306
326
|
ClusterMetrics = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataproc.v1.ClusterMetrics").msgclass
|
307
327
|
CreateClusterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataproc.v1.CreateClusterRequest").msgclass
|
308
328
|
UpdateClusterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataproc.v1.UpdateClusterRequest").msgclass
|
@@ -165,6 +165,9 @@ module Google
|
|
165
165
|
# @!attribute [rw] metastore_config
|
166
166
|
# @return [::Google::Cloud::Dataproc::V1::MetastoreConfig]
|
167
167
|
# Optional. Metastore configuration.
|
168
|
+
# @!attribute [rw] dataproc_metric_config
|
169
|
+
# @return [::Google::Cloud::Dataproc::V1::DataprocMetricConfig]
|
170
|
+
# Optional. The config for Dataproc metrics.
|
168
171
|
class ClusterConfig
|
169
172
|
include ::Google::Protobuf::MessageExts
|
170
173
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -911,6 +914,87 @@ module Google
|
|
911
914
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
912
915
|
end
|
913
916
|
|
917
|
+
# Dataproc metric config.
|
918
|
+
# @!attribute [rw] metrics
|
919
|
+
# @return [::Array<::Google::Cloud::Dataproc::V1::DataprocMetricConfig::Metric>]
|
920
|
+
# Required. Metrics sources to enable.
|
921
|
+
class DataprocMetricConfig
|
922
|
+
include ::Google::Protobuf::MessageExts
|
923
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
924
|
+
|
925
|
+
# A Dataproc OSS metric.
|
926
|
+
# @!attribute [rw] metric_source
|
927
|
+
# @return [::Google::Cloud::Dataproc::V1::DataprocMetricConfig::MetricSource]
|
928
|
+
# Required. Default metrics are collected unless `metricOverrides` are
|
929
|
+
# specified for the metric source (see [Available OSS metrics]
|
930
|
+
# (https://cloud.google.com/dataproc/docs/guides/monitoring#available_oss_metrics)
|
931
|
+
# for more information).
|
932
|
+
# @!attribute [rw] metric_overrides
|
933
|
+
# @return [::Array<::String>]
|
934
|
+
# Optional. Specify one or more [available OSS metrics]
|
935
|
+
# (https://cloud.google.com/dataproc/docs/guides/monitoring#available_oss_metrics)
|
936
|
+
# to collect for the metric course (for the `SPARK` metric source, any
|
937
|
+
# [Spark metric]
|
938
|
+
# (https://spark.apache.org/docs/latest/monitoring.html#metrics) can be
|
939
|
+
# specified).
|
940
|
+
#
|
941
|
+
# Provide metrics in the following format:
|
942
|
+
# <code><var>METRIC_SOURCE</var>:<var>INSTANCE</var>:<var>GROUP</var>:<var>METRIC</var></code>
|
943
|
+
# Use camelcase as appropriate.
|
944
|
+
#
|
945
|
+
# Examples:
|
946
|
+
#
|
947
|
+
# ```
|
948
|
+
# yarn:ResourceManager:QueueMetrics:AppsCompleted
|
949
|
+
# spark:driver:DAGScheduler:job.allJobs
|
950
|
+
# sparkHistoryServer:JVM:Memory:NonHeapMemoryUsage.committed
|
951
|
+
# hiveserver2:JVM:Memory:NonHeapMemoryUsage.used
|
952
|
+
# ```
|
953
|
+
#
|
954
|
+
# Notes:
|
955
|
+
#
|
956
|
+
# * Only the specified overridden metrics will be collected for the
|
957
|
+
# metric source. For example, if one or more `spark:executive` metrics
|
958
|
+
# are listed as metric overrides, other `SPARK` metrics will not be
|
959
|
+
# collected. The collection of the default metrics for other OSS metric
|
960
|
+
# sources is unaffected. For example, if both `SPARK` andd `YARN` metric
|
961
|
+
# sources are enabled, and overrides are provided for Spark metrics only,
|
962
|
+
# all default YARN metrics will be collected.
|
963
|
+
class Metric
|
964
|
+
include ::Google::Protobuf::MessageExts
|
965
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
966
|
+
end
|
967
|
+
|
968
|
+
# A source for the collection of Dataproc OSS metrics (see [available OSS
|
969
|
+
# metrics]
|
970
|
+
# (https://cloud.google.com//dataproc/docs/guides/monitoring#available_oss_metrics)).
|
971
|
+
module MetricSource
|
972
|
+
# Required unspecified metric source.
|
973
|
+
METRIC_SOURCE_UNSPECIFIED = 0
|
974
|
+
|
975
|
+
# Default monitoring agent metrics. If this source is enabled,
|
976
|
+
# Dataproc enables the monitoring agent in Compute Engine,
|
977
|
+
# and collects default monitoring agent metrics, which are published
|
978
|
+
# with an `agent.googleapis.com` prefix.
|
979
|
+
MONITORING_AGENT_DEFAULTS = 1
|
980
|
+
|
981
|
+
# HDFS metric source.
|
982
|
+
HDFS = 2
|
983
|
+
|
984
|
+
# Spark metric source.
|
985
|
+
SPARK = 3
|
986
|
+
|
987
|
+
# YARN metric source.
|
988
|
+
YARN = 4
|
989
|
+
|
990
|
+
# Spark History Server metric source.
|
991
|
+
SPARK_HISTORY_SERVER = 5
|
992
|
+
|
993
|
+
# Hiveserver2 metric source.
|
994
|
+
HIVESERVER2 = 6
|
995
|
+
end
|
996
|
+
end
|
997
|
+
|
914
998
|
# Contains cluster daemon metrics, such as HDFS and YARN stats.
|
915
999
|
#
|
916
1000
|
# **Beta Feature**: This report is available for testing purposes only. It may
|
@@ -26,8 +26,6 @@ module Google
|
|
26
26
|
# service Foo {
|
27
27
|
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
28
28
|
# }
|
29
|
-
#
|
30
|
-
# The JSON representation for `Empty` is empty JSON object `{}`.
|
31
29
|
class Empty
|
32
30
|
include ::Google::Protobuf::MessageExts
|
33
31
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-dataproc-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.13.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-09-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.12'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.12'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|