Skip to content

Commit 90c64ea

Browse files
wangyumsrowen
authored andcommitted
[SPARK-28267][DOC] Update building-spark.md(support build with hadoop-3.2)
## What changes were proposed in this pull request? Since [SPARK-23710](https://issues.apache.org/jira/browse/SPARK-23710), Hadoop 3.x can support Hive. This PR add _build with `hadoop-3.2`_ to building-spark.md. ## How was this patch tested? manual tests ``` cd docs SKIP_API=1 jekyll build ``` ![image](https://user-images.githubusercontent.com/5399861/60942057-cf5a0480-a313-11e9-9534-4765520e799f.png) Closes apache#25063 from wangyum/SPARK-28267. Authored-by: Yuming Wang <[email protected]> Signed-off-by: Sean Owen <[email protected]>
1 parent 1b23267 commit 90c64ea

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/building-spark.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,14 @@ Example:
8383

8484
To enable Hive integration for Spark SQL along with its JDBC server and CLI,
8585
add the `-Phive` and `Phive-thriftserver` profiles to your existing build options.
86-
By default Spark will build with Hive 1.2.1 bindings.
86+
By default, Spark will use Hive 1.2.1 with the `hadoop-2.7` profile, and Hive 2.3.5 with the `hadoop-3.2` profile.
8787

8888
# With Hive 1.2.1 support
8989
./build/mvn -Pyarn -Phive -Phive-thriftserver -DskipTests clean package
9090

91+
# With Hive 2.3.5 support
92+
./build/mvn -Pyarn -Phive -Phive-thriftserver -Phadoop-3.2 -DskipTests clean package
93+
9194
## Packaging without Hadoop Dependencies for YARN
9295

9396
The assembly directory produced by `mvn package` will, by default, include all of Spark's

0 commit comments

Comments
 (0)