Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: [dataproc] add the cohort and auto tuning configuration to the batch's RuntimeConfig #5494

Merged
merged 2 commits into from
Jun 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,14 @@ message RuntimeConfig {
// Optional. Dependency repository configuration.
RepositoryConfig repository_config = 5
[(google.api.field_behavior) = OPTIONAL];

// Optional. Autotuning configuration of the workload.
AutotuningConfig autotuning_config = 6
[(google.api.field_behavior) = OPTIONAL];

// Optional. Cohort identifier. Identifies families of the workloads having
// the same shape, e.g. daily ETL jobs.
string cohort = 7 [(google.api.field_behavior) = OPTIONAL];
}

// Environment configuration for a workload.
Expand Down Expand Up @@ -464,6 +472,28 @@ message GkeNodePoolConfig {
[(google.api.field_behavior) = OPTIONAL];
}

// Autotuning configuration of the workload.
message AutotuningConfig {
// Scenario represents a specific goal that autotuning will attempt to achieve
// by modifying workloads.
enum Scenario {
// Default value.
SCENARIO_UNSPECIFIED = 0;

// Scaling recommendations such as initialExecutors.
SCALING = 2;

// Adding hints for potential relation broadcasts.
BROADCAST_HASH_JOIN = 3;

// Memory management for workloads.
MEMORY = 4;
}

// Optional. Scenarios for which tunings are applied.
repeated Scenario scenarios = 2 [(google.api.field_behavior) = OPTIONAL];
}

// Configuration for dependency repositories
message RepositoryConfig {
// Optional. Configuration for PyPi repository.
Expand Down
120 changes: 120 additions & 0 deletions packages/google-cloud-dataproc/protos/protos.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading