@@ -33,13 +33,13 @@ to the `sharedSettings` val. See also [this PR](https://github.com/apache/spark/
33
33
34
34
# Building a Runnable Distribution
35
35
36
- To create a Spark distribution like those distributed by the
37
- [ Spark Downloads] ( http://spark.apache.org/downloads.html ) page, and that is laid out so as
38
- to be runnable, use ` make-distribution.sh ` in the project root directory. It can be configured
36
+ To create a Spark distribution like those distributed by the
37
+ [ Spark Downloads] ( http://spark.apache.org/downloads.html ) page, and that is laid out so as
38
+ to be runnable, use ` make-distribution.sh ` in the project root directory. It can be configured
39
39
with Maven profile settings and so on like the direct Maven build. Example:
40
40
41
41
./make-distribution.sh --name custom-spark --tgz -Psparkr -Phadoop-2.4 -Phive -Phive-thriftserver -Pyarn
42
-
42
+
43
43
For more information on usage, run ` ./make-distribution.sh --help `
44
44
45
45
# Setting up Maven's Memory Usage
@@ -74,23 +74,13 @@ Because HDFS is not protocol-compatible across versions, if you want to read fro
74
74
<tr><th>Hadoop version</th><th>Profile required</th></tr>
75
75
</thead >
76
76
<tbody >
77
- <tr><td>1.x to 2.1.x</td><td>hadoop-1</td></tr>
78
77
<tr><td>2.2.x</td><td>hadoop-2.2</td></tr>
79
78
<tr><td>2.3.x</td><td>hadoop-2.3</td></tr>
80
79
<tr><td>2.4.x</td><td>hadoop-2.4</td></tr>
81
80
<tr><td>2.6.x and later 2.x</td><td>hadoop-2.6</td></tr>
82
81
</tbody >
83
82
</table >
84
83
85
- For Apache Hadoop versions 1.x, Cloudera CDH "mr1" distributions, and other Hadoop versions without YARN, use:
86
-
87
- {% highlight bash %}
88
- # Apache Hadoop 1.2.1
89
- mvn -Dhadoop.version=1.2.1 -Phadoop-1 -DskipTests clean package
90
-
91
- # Cloudera CDH 4.2.0 with MapReduce v1
92
- mvn -Dhadoop.version=2.0.0-mr1-cdh4.2.0 -Phadoop-1 -DskipTests clean package
93
- {% endhighlight %}
94
84
95
85
You can enable the ` yarn ` profile and optionally set the ` yarn.version ` property if it is different from ` hadoop.version ` . Spark only supports YARN versions 2.2.0 and later.
96
86
0 commit comments