Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Cloning the repository

Committers

...

Code Block
languagepowershell
titleCloning the REEF repository for committers
git clone https://git-wip-us.apache.org/repos/asf/incubator-reef.git

Users

...

Code Block
languagepowershell
titleCloning the REEF repository for everyone else
git clone git://git.apache.org/incubator-reef.git

Compiling

Java Code only

REEF is built using Maven. Hence, a simple 

...

simple

Code Block
languagepowershell
titleCompiling REEF Java only
mvn clean install

should  should suffice. Not that we have quite a few integration tests in the default build. Hence, you might be better off using

...

Code Block
languagepowershell
titleCompiling REEF Java without tests
mvn -TC1 -DskipTests clean install

This runs one thread per core (-TC1) and skips the tests (-DskipTests)

...

Code Block
languagepowershell
titleCompiling REEF Java and .NET without Tests
mvn -TC1 -PBridge -PDotNet -DskipTests clean install

...

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.