How to debug Kylin in IDEA without Hadoop
Background
Why debug Kylin in IDEA without Hadoop
This article aims to introduce a simple and useful way to develop and debug Kylin for developers.
Deployment architecture
Following is the architecture of the current deployment.
This guide assumes you have prepared the following things:
- A laptop with macOS installed to do development work (Windows is not verified at the moment)
- Kylin's source code is cloned into some directory on your laptop
For Windows Dev Machine
For Windows dev machine, setup the Kylin dev env in Windows Subsystem for Linux is the best option. Follow this guide on how to install WSL with GUI, and install both the Kylin code and your favorite IDE (but not the docker) in WSL for best performance.
Prepare IDEA and build source code
Step 1: Check Software Requirement
Please visit Software Requirement, and make sure your laptop has met the requirement.
Step 2: Build source code
-
Build backend source code before your start debugging.
cd <path-to-kylin-source>
mvn clean install -DskipTests