layout | title | nav_order | parent |
---|---|---|---|
page |
Build Parameters for Velox Backend |
4 |
Getting-Started |
Please set them via --
, e.g. --build_type=Release
.
Parameters | Description | Default |
---|---|---|
build_type | Build type for Velox & gluten cpp, CMAKE_BUILD_TYPE. | Release |
build_tests | Build gluten cpp tests. | OFF |
build_examples | Build udf example. | OFF |
build_benchmarks | Build gluten cpp benchmarks. | OFF |
build_jemalloc | Build with jemalloc. | OFF |
build_protobuf | Build protobuf lib. | OFF |
enable_qat | Enable QAT for shuffle data de/compression. | OFF |
enable_iaa | Enable IAA for shuffle data de/compression. | OFF |
enable_hbm | Enable HBM allocator. | OFF |
enable_s3 | Build with S3 support. | OFF |
enable_gcs | Build with GCS support. | OFF |
enable_hdfs | Build with HDFS support. | OFF |
enable_abfs | Build with ABFS support. | OFF |
enable_ep_cache | Enable caching for external project build (Velox). | OFF |
enable_vcpkg | Enable vcpkg for static build. | OFF |
run_setup_script | Run setup script to install Velox dependencies. | ON |
velox_repo | Specify your own Velox repo to build. | "" |
velox_branch | Specify your own Velox branch to build. | "" |
velox_home | Specify your own Velox source path to build. | "" |
build_velox_tests | Build Velox tests. | OFF |
build_velox_benchmarks | Build Velox benchmarks (velox_tests and connectors will be disabled if ON) | OFF |
build_arrow | Build arrow java/cpp and install the libs in local. Can turn it OFF after first build. | ON |
spark_version | Build for specified version of Spark(3.2, 3.3, 3.4, 3.5, ALL). ALL means build for all versions. |
ALL |
Please set them via --
, e.g., --velox_home=/YOUR/PATH
.
Parameters | Description | Default |
---|---|---|
velox_home | Specify Velox source path to build. | GLUTEN_SRC/ep/build-velox/build/velox_ep |
build_type | Velox build type, i.e., CMAKE_BUILD_TYPE. | Release |
enable_s3 | Build Velox with S3 support. | OFF |
enable_gcs | Build Velox with GCS support. | OFF |
enable_hdfs | Build Velox with HDFS support. | OFF |
enable_abfs | Build Velox with ABFS support. | OFF |
run_setup_script | Run setup script to install Velox dependencies before build. | ON |
enable_ep_cache | Enable and reuse cache of Velox build. | OFF |
build_test_utils | Build Velox with cmake arg -DVELOX_BUILD_TEST_UTILS=ON if ON. | OFF |
build_tests | Build Velox test. | OFF |
build_benchmarks | Build Velox benchmarks. | OFF |
The below parameters can be set via -P
for mvn.
Parameters | Description | Default state |
---|---|---|
backends-velox | Build Gluten Velox backend. | disabled |
backends-clickhouse | Build Gluten ClickHouse backend. | disabled |
celeborn | Build Gluten with Celeborn. | disabled |
uniffle | Build Gluten with Uniffle. | disabled |
delta | Build Gluten with Delta Lake support. | disabled |
iceberg | Build Gluten with Iceberg support. | disabled |
spark-3.2 | Build Gluten for Spark 3.2. | enabled |
spark-3.3 | Build Gluten for Spark 3.3. | disabled |
spark-3.4 | Build Gluten for Spark 3.4. | disabled |
spark-3.5 | Build Gluten for Spark 3.5. | disabled |
The gluten jar built out is under GLUTEN_SRC/package/target/
.
It's name pattern is gluten-<backend_type>-bundle-spark<spark.bundle.version>_<scala.binary.version>-<os.detected.release>_<os.detected.release.version>-<project.version>.jar
.
Spark Version | spark.bundle.version | scala.binary.version |
---|---|---|
3.2.2 | 3.2 | 2.12 |
3.3.1 | 3.3 | 2.12 |
3.4.2 | 3.4 | 2.12 |
3.5.1 | 3.5 | 2.12 |