Skip to content

Commit

Permalink
Merge pull request #33 from opentargets/vh-add-subnet
Browse files Browse the repository at this point in the history
feat (metrics): add subnet parameter for dataproc job
  • Loading branch information
vivienho authored Dec 6, 2024
2 parents cd92517 + 91aad87 commit 4488813
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/metric-calculation.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,13 @@ export IMAGE=europe-west1-docker.pkg.dev/open-targets-eu-dev/ot-release-metrics/
export PROJECT=open-targets-eu-dev
export REGION=europe-west1
export BUCKET=gs://ot-release-metrics
export SUBNET=ot-dataproc-serverless
gcloud dataproc batches submit pyspark \
--container-image ${IMAGE} \
--region ${REGION} \
--project ${PROJECT} \
--deps-bucket ${BUCKET} \
--subnet ${SUBNET} \
--files config/config.yaml \
--properties "spark.executor.cores=16" \
metric-calculation/src/metric_calculation/metrics.py \
Expand Down

0 comments on commit 4488813

Please sign in to comment.