The examples rely on XGBoost.
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
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.