File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -6,26 +6,26 @@ The base Hadoop Docker image is also available as an official [Docker image](htt
6
6
7
7
##Pull the image from Docker Repository
8
8
```
9
- docker pull sequenceiq/spark:1.3.0
9
+ docker pull sequenceiq/spark:1.3.1
10
10
```
11
11
12
12
## Building the image
13
13
```
14
- docker build --rm -t sequenceiq/spark:1.3.0 .
14
+ docker build --rm -t sequenceiq/spark:1.3.1 .
15
15
```
16
16
17
17
## Running the image
18
18
```
19
- docker run -i -t -h sandbox sequenceiq/spark:1.3.0 bash
19
+ docker run -i -t -h sandbox sequenceiq/spark:1.3.1 bash
20
20
```
21
21
or
22
22
```
23
- docker run -d -h sandbox sequenceiq/spark:1.3.0 -d
23
+ docker run -d -h sandbox sequenceiq/spark:1.3.1 -d
24
24
```
25
25
26
26
## Versions
27
27
```
28
- Hadoop 2.6.0 and Apache Spark v1.3.0
28
+ Hadoop 2.6.0 and Apache Spark v1.3.1
29
29
```
30
30
31
31
## Testing
@@ -51,12 +51,12 @@ Estimating Pi (yarn-cluster mode):
51
51
52
52
```
53
53
# execute the the following command which should write the "Pi is roughly 3.1418" into the logs
54
- spark-submit --class org.apache.spark.examples.SparkPi --master yarn-cluster --driver-memory 1g --executor-memory 1g --executor-cores 1 $SPARK_HOME/lib/spark-examples-1.3.0 -hadoop2.4.0.jar
54
+ spark-submit --class org.apache.spark.examples.SparkPi --master yarn-cluster --driver-memory 1g --executor-memory 1g --executor-cores 1 $SPARK_HOME/lib/spark-examples-1.3.1 -hadoop2.4.0.jar
55
55
```
56
56
57
57
Estimating Pi (yarn-client mode):
58
58
59
59
```
60
60
# execute the the following command which should print the "Pi is roughly 3.1418" to the screen
61
- spark-submit --class org.apache.spark.examples.SparkPi --master yarn-client --driver-memory 1g --executor-memory 1g --executor-cores 1 $SPARK_HOME/lib/spark-examples-1.3.0 -hadoop2.4.0.jar
61
+ spark-submit --class org.apache.spark.examples.SparkPi --master yarn-client --driver-memory 1g --executor-memory 1g --executor-cores 1 $SPARK_HOME/lib/spark-examples-1.3.1 -hadoop2.4.0.jar
62
62
```
You can’t perform that action at this time.
0 commit comments