Skip to content

Latest commit

 

History

History
62 lines (47 loc) · 2.56 KB

OAP-Developer-Guide.md

File metadata and controls

62 lines (47 loc) · 2.56 KB

OAP Developer Guide

This document contains the instructions & scripts on installing necessary dependencies and building OAP. You can get more detailed information from OAP each module below.

Building OAP

We provide scripts to help automatically install dependencies listed below except RDMA, need change to root user, run:

# git clone -b <tag-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

OAP is built with Apache Maven and Oracle Java 8, and mainly required tools to install on your cluster are listed below.

Prerequisites for Building

  • Requirements for Shuffle Remote PMem Extension
    If enable Shuffle Remote PMem extension with RDMA, you can refer to PMem Shuffle to configure and validate RDMA in advance.

Building

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