Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 780 Bytes

File metadata and controls

26 lines (15 loc) · 780 Bytes

Build XGBoost Scala Examples

The examples rely on XGBoost.

Build

Follow these steps to build the Scala jars:

git clone https://github.com/NVIDIA/spark-rapids-examples.git
cd spark-rapids-examples/examples
mvn package

The generated Jars

Let's assume LATEST_VERSION is 0.2.2. The build process will generate two jars as belows,

  • aggregator/target/sample_xgboost_apps-${LATEST_VERSION}.jar

    only classes for the examples are included, so it should be submitted to spark together with other dependent jars

  • aggregator/target/sample_xgboost_apps-${LATEST_VERSION}-jar-with-dependencies.jar

    both classes for the examples and the classes from dependent jars are included except cudf and rapids.