Skip to content

Commit

Permalink
update spark properties for full utilization of node (#2276)
Browse files Browse the repository at this point in the history
  • Loading branch information
shreeyaharma authored Feb 6, 2024
1 parent 2d66471 commit 254dd2b
Show file tree
Hide file tree
Showing 19 changed files with 79 additions and 80 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ outputs:
mode: direct
type: mltable
conf:
spark.driver.cores: 1
spark.driver.memory: 2g
spark.executor.cores: 2
spark.executor.memory: 2g
spark.driver.cores: 4
spark.driver.memory: 28g
spark.executor.cores: 4
spark.executor.memory: 28g
spark.executor.instances: 1
spark.dynamicAllocation.enabled: True
spark.dynamicAllocation.minExecutors: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ code: ../../src/
entry:
file: ./data_quality_compute_metrics/run.py
conf:
spark.driver.cores: 1
spark.driver.memory: 2g
spark.executor.cores: 2
spark.executor.memory: 2g
spark.driver.cores: 4
spark.driver.memory: 28g
spark.executor.cores: 4
spark.executor.memory: 28g
spark.executor.instances: 1
spark.dynamicAllocation.enabled: True
spark.dynamicAllocation.minExecutors: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ code: ../../src/
entry:
file: ./data_quality_metrics_joiner/run.py
conf:
spark.driver.cores: 1
spark.driver.memory: 2g
spark.executor.cores: 2
spark.executor.memory: 2g
spark.driver.cores: 4
spark.driver.memory: 28g
spark.executor.cores: 4
spark.executor.memory: 28g
spark.executor.instances: 1
spark.dynamicAllocation.enabled: True
spark.dynamicAllocation.minExecutors: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ code: ../../src/
entry:
file: ./data_quality_statistics/run.py
conf:
spark.driver.cores: 1
spark.driver.memory: 2g
spark.executor.cores: 2
spark.executor.memory: 2g
spark.driver.cores: 4
spark.driver.memory: 28g
spark.executor.cores: 4
spark.executor.memory: 28g
spark.executor.instances: 1
spark.dynamicAllocation.enabled: True
spark.dynamicAllocation.minExecutors: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ outputs:
mode: direct

conf:
spark.driver.cores: 1
spark.driver.memory: 2g
spark.executor.cores: 2
spark.executor.memory: 2g
spark.driver.cores: 4
spark.driver.memory: 28g
spark.executor.cores: 4
spark.executor.memory: 28g
spark.executor.instances: 1
spark.dynamicAllocation.enabled: False
spark.dynamicAllocation.enabled: True
spark.dynamicAllocation.minExecutors: 1
spark.dynamicAllocation.maxExecutors: 4
spark.synapse.library.python.env: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ outputs:
mode: direct

conf:
spark.driver.cores: 1
spark.driver.memory: 2g
spark.executor.cores: 2
spark.executor.memory: 2g
spark.driver.cores: 4
spark.driver.memory: 28g
spark.executor.cores: 4
spark.executor.memory: 28g
spark.executor.instances: 1
spark.dynamicAllocation.enabled: False
spark.dynamicAllocation.enabled: True
spark.dynamicAllocation.minExecutors: 1
spark.dynamicAllocation.maxExecutors: 4
spark.synapse.library.python.env: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,10 @@ outputs:
mode: direct

conf:
spark.driver.cores: 1
spark.driver.memory: 2g
spark.executor.cores: 2
spark.executor.memory: 2g
spark.driver.cores: 4
spark.driver.memory: 28g
spark.executor.cores: 4
spark.executor.memory: 28g
spark.executor.instances: 1
spark.dynamicAllocation.enabled: True
spark.dynamicAllocation.minExecutors: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ outputs:
mode: direct

conf:
spark.driver.cores: 1
spark.driver.memory: 2g
spark.executor.cores: 2
spark.executor.memory: 2g
spark.driver.cores: 4
spark.driver.memory: 28g
spark.executor.cores: 4
spark.executor.memory: 28g
spark.executor.instances: 1
spark.dynamicAllocation.enabled: True
spark.dynamicAllocation.minExecutors: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,10 @@ outputs:
type: mltable
mode: direct
conf:
spark.driver.cores: 1
spark.driver.memory: 2g
spark.executor.cores: 2
spark.executor.memory: 2g
spark.executor.instances: 1
spark.driver.cores: 4
spark.driver.memory: 28g
spark.executor.cores: 4
spark.executor.memory: 28g
spark.dynamicAllocation.enabled: True
spark.dynamicAllocation.minExecutors: 1
spark.dynamicAllocation.maxExecutors: 4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ outputs:
mode: direct
type: mltable
conf:
spark.driver.cores: 1
spark.driver.memory: 2g
spark.executor.cores: 2
spark.executor.memory: 2g
spark.driver.cores: 4
spark.driver.memory: 28g
spark.executor.cores: 4
spark.executor.memory: 28g
spark.executor.instances: 1
spark.dynamicAllocation.enabled: True
spark.dynamicAllocation.minExecutors: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ outputs:
mode: direct
type: mltable
conf:
spark.driver.cores: 1
spark.driver.memory: 2g
spark.executor.cores: 2
spark.executor.memory: 2g
spark.driver.cores: 4
spark.driver.memory: 28g
spark.executor.cores: 4
spark.executor.memory: 28g
spark.executor.instances: 1
spark.dynamicAllocation.enabled: True
spark.dynamicAllocation.minExecutors: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ outputs:
type: uri_folder
mode: direct
conf:
spark.driver.cores: 1
spark.driver.memory: 2g
spark.executor.cores: 2
spark.executor.memory: 2g
spark.driver.cores: 4
spark.driver.memory: 28g
spark.executor.cores: 4
spark.executor.memory: 28g
spark.executor.instances: 1
spark.dynamicAllocation.enabled: True
spark.dynamicAllocation.minExecutors: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ outputs:
type: mltable
mode: direct
conf:
spark.driver.cores: 1
spark.driver.memory: 2g
spark.executor.cores: 2
spark.executor.memory: 2g
spark.driver.cores: 4
spark.driver.memory: 28g
spark.executor.cores: 4
spark.executor.memory: 28g
spark.executor.instances: 1
spark.dynamicAllocation.enabled: True
spark.dynamicAllocation.minExecutors: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ type: spark
name: model_monitor_evaluate_metrics_threshold
display_name: Model Monitor - Evaluate Metrics Threshold
description: Evaluate signal metrics against the threshold provided in the monitoring signal.
version: 0.3.10
version: 0.3.11
is_deterministic: true

code: ../../src
Expand All @@ -21,10 +21,10 @@ inputs:
type: string
optional: true
conf:
spark.driver.cores: 1
spark.driver.memory: 2g
spark.executor.cores: 2
spark.executor.memory: 2g
spark.driver.cores: 4
spark.driver.memory: 28g
spark.executor.cores: 4
spark.executor.memory: 28g
spark.executor.instances: 1
spark.dynamicAllocation.enabled: True
spark.dynamicAllocation.minExecutors: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ type: spark
name: model_monitor_feature_selector
display_name: Model Monitor - Feature Selector
description: Selects features to compute signal metrics on.
version: 0.3.5
version: 0.3.6
is_deterministic: true

code: ../../src
Expand Down Expand Up @@ -32,10 +32,10 @@ outputs:
type: mltable
mode: direct
conf:
spark.driver.cores: 1
spark.driver.memory: 2g
spark.executor.cores: 2
spark.executor.memory: 2g
spark.driver.cores: 4
spark.driver.memory: 28g
spark.executor.cores: 4
spark.executor.memory: 28g
spark.executor.instances: 1
spark.dynamicAllocation.enabled: True
spark.dynamicAllocation.minExecutors: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ type: spark
name: model_monitor_metric_outputter
display_name: Model Monitor - Metric Outputter
description: Output the computed model monitor metrics.
version: 0.3.14
version: 0.3.15
is_deterministic: true

code: ../../src/
Expand Down Expand Up @@ -32,10 +32,10 @@ outputs:
type: uri_folder
mode: direct
conf:
spark.driver.cores: 1
spark.driver.memory: 2g
spark.executor.cores: 2
spark.executor.memory: 2g
spark.driver.cores: 4
spark.driver.memory: 28g
spark.executor.cores: 4
spark.executor.memory: 28g
spark.executor.instances: 1
spark.dynamicAllocation.enabled: True
spark.dynamicAllocation.minExecutors: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ type: spark
name: model_monitor_output_metrics
display_name: Model Monitor - Output Metrics
description: Output the computed model monitor metrics to the default datastore.
version: 0.3.9
version: 0.3.10
is_deterministic: true

code: ../../src/
Expand Down Expand Up @@ -40,10 +40,10 @@ outputs:
type: uri_folder
mode: direct
conf:
spark.driver.cores: 1
spark.driver.memory: 2g
spark.executor.cores: 2
spark.executor.memory: 2g
spark.driver.cores: 4
spark.driver.memory: 28g
spark.executor.cores: 4
spark.executor.memory: 28g
spark.executor.instances: 1
spark.dynamicAllocation.enabled: True
spark.dynamicAllocation.minExecutors: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ outputs:
mode: direct

conf:
spark.driver.cores: 1
spark.driver.memory: 2g
spark.executor.cores: 2
spark.executor.memory: 2g
spark.driver.cores: 4
spark.driver.memory: 28g
spark.executor.cores: 4
spark.executor.memory: 28g
spark.executor.instances: 1
spark.dynamicAllocation.enabled: True
spark.dynamicAllocation.minExecutors: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def _mdc_preprocessor_e2e():

mdc_preprocessor_output.identity = AmlTokenConfiguration()
mdc_preprocessor_output.resources = {
'instance_type': 'Standard_E8S_V3',
'instance_type': 'Standard_E4S_V3',
'runtime_version': '3.3',
}

Expand Down

0 comments on commit 254dd2b

Please sign in to comment.