[HUDI-1089] Refactor hudi-client to support multi-engine (#1827)
- This change breaks `hudi-client` into `hudi-client-common` and `hudi-spark-client` modules - Simple usages of Spark using jsc.parallelize() has been redone using EngineContext#map, EngineContext#flatMap etc - Code changes in the PR, break classes into `BaseXYZ` parent classes with no spark dependencies living in `hudi-client-common` - Classes on `hudi-spark-client` are named `SparkXYZ` extending the parent classes with all the Spark dependencies - To simplify/cleanup, HoodieIndex#fetchRecordLocation has been removed and its usages in tests replaced with alternatives Co-authored-by: Vinoth Chandar <vinoth@apache.org>
This commit is contained in:
@@ -20,10 +20,10 @@ jdk:
|
||||
- openjdk8
|
||||
jobs:
|
||||
include:
|
||||
- name: "Unit tests except hudi-client"
|
||||
env: MODE=unit MODULES='!hudi-client' HUDI_QUIETER_LOGGING=1
|
||||
- name: "Unit tests for hudi-client"
|
||||
env: MODE=unit MODULES=hudi-client HUDI_QUIETER_LOGGING=1
|
||||
- name: "Unit tests except hudi-spark-client"
|
||||
env: MODE=unit MODULES='!hudi-client/hudi-spark-client' HUDI_QUIETER_LOGGING=1
|
||||
- name: "Unit tests for hudi-spark-client"
|
||||
env: MODE=unit MODULES=hudi-client/hudi-spark-client HUDI_QUIETER_LOGGING=1
|
||||
- name: "Functional tests"
|
||||
env: MODE=functional HUDI_QUIETER_LOGGING=1
|
||||
- name: "Integration tests"
|
||||
|
||||
Reference in New Issue
Block a user