Quickstart: How to build and run Dremio
(a) Prerequisites
- JDK 8 (OpenJDK or Oracle)
- (Optional) Maven 3.3.9 or later (using Homebrew:
brew install maven
)
Run the following commands to verify that you have the correct versions of Maven and JDK installed:
java -version
mvn --version
(b) Clone the Repository
git clone https://github.com/dremio/dremio-oss.git dremio
© Build the Code
cd dremio
mvn clean install -DskipTests (or ./mvnw clean install -DskipTests if maven is not installed on the machine)
The “-DskipTests” option skips most of the tests. Running all tests takes a long time
将其他未导入的包,添加到classpath 如import com.koloboke.collect.impl.hash.LHashCapacities
###(d)配置运行环境
(1)配置app
(2)debug
(3)访问http://localhost:9047/
(4)DatasetVersionResource接收请求
run之前,在DatasetVersionResource::run中添加断点
点击run后,进入断点
(5)后面继续debug…