[HUDI-1040] Make Hudi support Spark 3 (#2208)
* Fix flaky MOR unit test * Update Spark APIs to make it be compatible with both spark2 & spark3 * Refactor bulk insert v2 part to make Hudi be able to compile with Spark3 * Add spark3 profile to handle fasterxml & spark version * Create hudi-spark-common module & refactor hudi-spark related modules Co-authored-by: Wenning Ding <wenningd@amazon.com>
This commit is contained in:
@@ -76,6 +76,14 @@ The default Scala version supported is 2.11. To build for Scala 2.12 version, bu
|
||||
mvn clean package -DskipTests -Dscala-2.12
|
||||
```
|
||||
|
||||
### Build with Spark 3.0.0
|
||||
|
||||
The default Spark version supported is 2.4.4. To build for Spark 3.0.0 version, build using `spark3` profile
|
||||
|
||||
```
|
||||
mvn clean package -DskipTests -Dspark3
|
||||
```
|
||||
|
||||
### Build without spark-avro module
|
||||
|
||||
The default hudi-jar bundles spark-avro module. To build without spark-avro module, build using `spark-shade-unbundle-avro` profile
|
||||
|
||||
Reference in New Issue
Block a user