Building from source

Follow the steps below to build Crail from source.

Requirements

  • Java 8 or higher
  • RDMA-based network, e.g., Infiniband, iWARP, RoCE. There are two options to run Crail without RDMA networking hardware: (a) use SoftiWARP, (b) us the TCP/DRAM storage tier
  • Libdisni.so, available as part of DiSNI

Building

To build Crail from source using Apache Maven execute the following steps:

    1. Clone from Apache: git clone http://git-wip-us.apache.org/repos/asf/incubator-crail.git or
    2. Clone from Github: git clone https://github.com/apache/incubator-crail or
    3. Download and unpack the latest source release from here
  1. Run: mvn -DskipTests install
  2. Copy tarball from assembly/target to the cluster and unpack it using tar xvfz crail-X.Y-incubating-bin.tar.gz

Note: later, when deploying Crail, make sure libdisni.so is part of your LD_LIBRARY_PATH. The easiest way to make it work is to copy libdisni.so into $CRAIL_HOME/lib/