Skip to content

Commit

Permalink
Update PVC to disable the reuse
Browse files Browse the repository at this point in the history
  • Loading branch information
willhume committed Feb 28, 2024
1 parent 4f736ce commit f0d3823
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions execution/engine/emr_engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,9 @@ func (emr *EMRExecutionEngine) generateApplicationConf(executable state.Executab
// PVC creation and use for mounting EBS volumes to jobs
// Uses the default storage class though we could add more config here to support that to see. https://spark.apache.org/docs/latest/running-on-kubernetes.html#pvc-oriented-executor-pod-allocation
// This requires the CSI Driver to be deployed in the cluster
//"spark.kubernetes.driver.ownPersistentVolumeClaim": aws.String("true"),
//"spark.kubernetes.driver.waitToReusePersistentVolumeClaim": aws.String("true"),
"spark.kubernetes.driver.ownPersistentVolumeClaim": aws.String("true"),
"spark.kubernetes.driver.reusePersistentVolumeClaim": aws.String("false"),
"spark.kubernetes.driver.waitToReusePersistentVolumeClaim": aws.String("false"),
//"spark.kubernetes.driver.volumes.persistentVolumeClaim.spark-local-dir-shared-lib-volume.options.storageClass": aws.String("gp2"),
// "spark.kubernetes.driver.volumes.persistentVolumeClaim.spark-local-dir-shared-lib-volume.options.sizeLimit": aws.String("20Gi"),
// "spark.kubernetes.driver.volumes.persistentVolumeClaim.spark-local-dir-shared-lib-volume.options.claimName": aws.String("OnDemand"),
Expand Down

0 comments on commit f0d3823

Please sign in to comment.