REEF is available on both Linux and Windows and supports developing applications in the Java or C# programming languages.
REEF Git Repositories
Building on Linux
Building on Windows
Compiling
Requirements
- Java 7 Development Kit
- Maven 3 or newer. Make sure that mvn is in your PATH
- Protocol Buffers Compiler (protoc) 2.5 Make sure that protoc is in your PATH
With these requirements met, the instructions below should work regardless of OS choice and command line interpreter. On Windows, you might find this tutorial helpful in setting up PowerShell with Maven, GitHub and Java. You will still have to install the Protocol Buffers Compiler, though.
Cloning the repository
Comitters
$ git clone https://git-wip-us.apache.org/repos/asf/incubator-reef.git
Users
$ git clone git://git.apache.org/incubator-reef.git
Compiling the code
REEF is built using Maven. Hence, a simple
$ mvn clean install
should suffice. Not that we have quite a few integration tests in the default build. Hence, you might be better off using
$ mvn -TC1 -DskipTests clean install
This runs one thread per core (-TC1
) and skips the tests (-DskipTests
)
Note: You will see many exception printouts during the compilation of REEF with tests. Those are not, in fact, problems with the build: REEF guarantees that exceptions thrown on remote machines get serialized and shipped back to the Driver. We have extensive unit tests for that feature that produce the confusing printouts.