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

(c) 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]start

(2)debug
[1]start

(3)访问http://localhost:9047/
[1]start

(4)DatasetVersionResource接收请求
run之前,在DatasetVersionResource::run中添加断点
[1]start
点击run后,进入断点
[1]start

(5)后面继续debug…

相关文章:

  • 2021-12-11
  • 2022-12-23
  • 2021-07-30
  • 2022-12-23
  • 2021-05-26
  • 2021-11-13
  • 2021-10-18
  • 2021-07-17
猜你喜欢
  • 2022-12-23
  • 2022-01-23
  • 2021-10-03
  • 2021-12-06
  • 2022-03-10
  • 2022-12-23
  • 2021-12-19
相关资源
相似解决方案