[1] Dremio Quickstart

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
[1] Dremio Quickstart_第1张图片

(2)debug
[1] Dremio Quickstart_第2张图片

(3)访问http://localhost:9047/
[1] Dremio Quickstart_第3张图片

(4)DatasetVersionResource接收请求
run之前,在DatasetVersionResource::run中添加断点
[1] Dremio Quickstart_第4张图片
点击run后,进入断点
[1] Dremio Quickstart_第5张图片

(5)后面继续debug…

你可能感兴趣的:([25]Dremio)