5.1. Developer Environment¶
Rubix is a Maven project and uses Java 8. It uses JUnit as the testing framework. Ensure that you have a development environment that support the above configuration.
thriftbinary needs to be available at
/usr/local/bin/thrift. Rubix will not compile with the newer versions of thrift, it is recommended to install thrift version 0.9.3 by downloading the source from here and installing it using the steps mentioned here
- Java JDK 8 needs to be used. If you see an error like
Fatal error compiling: invalid target release: 1.8during compilation then setup your system to use Java JDK 8 for the build.
- For generating the RPM you need the
rpmbuildcommand available. On Debian-based systems
sudo apt-get install rpmbuildand on RPM-based systems
sudo yum install rpm-buildmake it available.
Fork your own copy of RubiX into your github account by clicking on the “Fork” button
Navigate to your account and clone that copy to your development box
git clone https://github.com/<username>/rubix
Run tests in the RubiX root directory.
Add Qubole RubiX as upstream
git remote add upstream https://github.com/qubole/rubix.git git fetch upstream