This document contains the instructions & scripts on installing necessary dependencies and building OAP. You can get more detailed information from OAP each module below.
- SQL DS Cache
- PMem Common
- PMem Spill
- PMem Shuffle
- Remote Shuffle
- OAP MLlib
- Arrow Data Source
- Native SQL Engine
OAP is built with Apache Maven and Oracle Java 8, and mainly required tools to install on your cluster are listed below.
If enable PMem Shuffle with RDMA, you can refer to PMem Shuffle to configure and validate RDMA in advance.
We provide scripts below to help automatically install dependencies above except RDMA, need change to root account, run:
# git clone -b <version> https://github.com/oap-project/oap-tools.git
# cd oap-tools
# sh dev/install-compile-time-dependencies.sh
Run the following command to learn more.
# sh dev/scripts/prepare_oap_env.sh --help
Run the following command to automatically install specific dependency such as Maven.
# sh dev/scripts/prepare_oap_env.sh --prepare_maven
To build OAP package, run command below then you can find a tarball named oap-$VERSION-bin-spark-$VERSION.tar.gz under directory $OAP_TOOLS_HOME/dev/release-package .
$ sh $OAP_TOOLS_HOME/dev/compile-oap.sh
Building Specified OAP Module, such as sql-ds-cache, run:
$ sh $OAP_TOOLS_HOME/dev/compile-oap.sh --sql-ds-cache