Compiling Drill from Source
To develop Drill, you compile Drill from source code and then set up a project in Eclipse for use as your development environment. To review or contribute to Drill code, you must complete the steps required to install and use the Drill patch review tool.
Prerequisites
- Maven 3.0.4 or later
- Oracle JDK 7 or later
Run the following commands to verify that you have the correct versions of Maven and JDK installed:
java -version
mvn -version
1. Clone the Repository
git clone https://git-wip-us.apache.org/repos/asf/drill.git
2. Compile the Code
cd drill
mvn clean install -DskipTests
The tarball appears in distribution/target. Move the tarball to a directory for unpacking, unpack, and then you can connect to Drill and query sample data or you can connect Drill to your data sources.
- To connect Drill to your data sources, refer to Connect to Data Sources for instructions.
- To connect to Drill and query sample data, refer to the following topics:
