Skip to content

Commit

Permalink
Replaced 2.4.0 with 2.4.4 (kubeflow#634)
Browse files Browse the repository at this point in the history
  • Loading branch information
liyinan926 authored Sep 24, 2019
1 parent 0016446 commit 74bd887
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 26 deletions.
10 changes: 5 additions & 5 deletions docs/user-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ spec:
mode: cluster
image: gcr.io/spark/spark:v2.4.4
mainClass: org.apache.spark.examples.SparkPi
mainApplicationFile: local:///opt/spark/examples/jars/spark-examples_2.11-2.4.0.jar
mainApplicationFile: local:///opt/spark/examples/jars/spark-examples_2.11-2.4.4.jar
```
### Specifying Application Dependencies
Expand Down Expand Up @@ -130,7 +130,7 @@ spec:
coreLimit: 200m
memory: 512m
labels:
version: 2.4.0
version: 2.4.4
serviceAccount: spark
```

Expand All @@ -150,7 +150,7 @@ spec:
instances: 1
memory: 512m
labels:
version: 2.4.0
version: 2.4.4
```

### Specifying Extra Java Options
Expand Down Expand Up @@ -179,7 +179,7 @@ spec:
name: "amd.com/gpu" # GPU resource name
quantity: 1 # number of GPUs to request
labels:
version: 2.4.0
version: 2.4.4
serviceAccount: spark
executor:
cores: 1
Expand All @@ -203,7 +203,7 @@ spec:
memory: "512m"
hostNetwork: true
labels:
version: 2.4.0
version: 2.4.4
serviceAccount: spark
executor:
cores: 1
Expand Down
8 changes: 4 additions & 4 deletions docs/volcano-integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ spec:
image: "gcr.io/spark-operator/spark:v2.4.4"
imagePullPolicy: Always
mainClass: org.apache.spark.examples.SparkPi
mainApplicationFile: "local:///opt/spark/examples/jars/spark-examples_2.11-2.4.0.jar"
sparkVersion: "2.4.0"
mainApplicationFile: "local:///opt/spark/examples/jars/spark-examples_2.11-2.4.4.jar"
sparkVersion: "2.4.4"
batchScheduler: "volcano" #Note: the batch scheduler name must be specified with `volcano`
restartPolicy:
type: Never
Expand All @@ -49,7 +49,7 @@ spec:
coreLimit: "1200m"
memory: "512m"
labels:
version: 2.4.0
version: 2.4.4
serviceAccount: spark
volumeMounts:
- name: "test-volume"
Expand All @@ -59,7 +59,7 @@ spec:
instances: 1
memory: "512m"
labels:
version: 2.4.0
version: 2.4.4
volumeMounts:
- name: "test-volume"
mountPath: "/tmp"
Expand Down
8 changes: 4 additions & 4 deletions examples/spark-pi-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ spec:
image: "gcr.io/spark-operator/spark:v2.4.4"
imagePullPolicy: Always
mainClass: org.apache.spark.examples.SparkPi
mainApplicationFile: "local:///opt/spark/examples/jars/spark-examples_2.11-2.4.0.jar"
sparkVersion: "2.4.0"
mainApplicationFile: "local:///opt/spark/examples/jars/spark-examples_2.11-2.4.4.jar"
sparkVersion: "2.4.4"
restartPolicy:
type: Never
volumes:
Expand All @@ -37,7 +37,7 @@ spec:
coreLimit: "1200m"
memory: "512m"
labels:
version: 2.4.0
version: 2.4.4
serviceAccount: spark
volumeMounts:
- name: config-vol
Expand All @@ -47,7 +47,7 @@ spec:
instances: 1
memory: "512m"
labels:
version: 2.4.0
version: 2.4.4
volumeMounts:
- name: config-vol
mountPath: /opt/spark/mycm
8 changes: 4 additions & 4 deletions examples/spark-pi-prometheus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,25 +25,25 @@ spec:
image: "gcr.io/spark-operator/spark:v2.4.4-gcs-prometheus"
imagePullPolicy: Always
mainClass: org.apache.spark.examples.SparkPi
mainApplicationFile: "local:///opt/spark/examples/jars/spark-examples_2.11-2.4.0.jar"
mainApplicationFile: "local:///opt/spark/examples/jars/spark-examples_2.11-2.4.4.jar"
arguments:
- "100000"
sparkVersion: "2.4.0"
sparkVersion: "2.4.4"
restartPolicy:
type: Never
driver:
cores: 1
coreLimit: "1200m"
memory: "512m"
labels:
version: 2.4.0
version: 2.4.4
serviceAccount: spark
executor:
cores: 1
instances: 1
memory: "512m"
labels:
version: 2.4.0
version: 2.4.4
monitoring:
exposeDriverMetrics: true
exposeExecutorMetrics: true
Expand Down
6 changes: 3 additions & 3 deletions examples/spark-pi-schedule.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,19 @@ spec:
image: "gcr.io/spark-operator/spark:v2.4.4"
imagePullPolicy: Always
mainClass: org.apache.spark.examples.SparkPi
mainApplicationFile: "local:///opt/spark/examples/jars/spark-examples_2.11-2.4.0.jar"
mainApplicationFile: "local:///opt/spark/examples/jars/spark-examples_2.11-2.4.4.jar"
restartPolicy:
type: Never
driver:
cores: 1
coreLimit: "1200m"
memory: "512m"
labels:
version: 2.4.0
version: 2.4.4
serviceAccount: spark
executor:
cores: 1
instances: 1
memory: "512m"
labels:
version: 2.4.0
version: 2.4.4
6 changes: 3 additions & 3 deletions examples/spark-pi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
imagePullPolicy: Always
mainClass: org.apache.spark.examples.SparkPi
mainApplicationFile: "local:///opt/spark/examples/jars/spark-examples_2.11-2.4.4.jar"
sparkVersion: "2.4.0"
sparkVersion: "2.4.4"
restartPolicy:
type: Never
volumes:
Expand All @@ -38,7 +38,7 @@ spec:
coreLimit: "1200m"
memory: "512m"
labels:
version: 2.4.0
version: 2.4.4
serviceAccount: spark
volumeMounts:
- name: "test-volume"
Expand All @@ -48,7 +48,7 @@ spec:
instances: 1
memory: "512m"
labels:
version: 2.4.0
version: 2.4.4
volumeMounts:
- name: "test-volume"
mountPath: "/tmp"
6 changes: 3 additions & 3 deletions examples/spark-py-pi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
image: "gcr.io/spark-operator/spark-py:v2.4.4"
imagePullPolicy: Always
mainApplicationFile: local:///opt/spark/examples/src/main/python/pi.py
sparkVersion: "2.4.0"
sparkVersion: "2.4.4"
restartPolicy:
type: OnFailure
onFailureRetries: 3
Expand All @@ -40,11 +40,11 @@ spec:
coreLimit: "1200m"
memory: "512m"
labels:
version: 2.4.0
version: 2.4.4
serviceAccount: spark
executor:
cores: 1
instances: 1
memory: "512m"
labels:
version: 2.4.0
version: 2.4.4

0 comments on commit 74bd887

Please sign in to comment.