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:
- Clone from Apache:
git clone http://git-wip-us.apache.org/repos/asf/incubator-crail.git
or - Clone from Github:
git clone https://github.com/apache/incubator-crail
or - Download and unpack the latest source release from here
- Clone from Apache:
- Run:
mvn -DskipTests install
- Copy tarball to the cluster and unpack it using
tar xvfz crail-XX-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-1.0/lib