๐Ÿ’ป/MLOps

[Pinot] Apache Pinot ๊ฐœ๋ฐœ ํ™˜๊ฒฝ

ruhz 2023. 3. 5. 12:42
Apache Pinot ์šด์˜์ด ์•„๋‹Œ, ๊ฐœ๋ฐœ ๋ฐ ํ”„๋กœ์ ํŠธ ๊ธฐ์—ฌ๋ฅผ ๋ชฉ์ ์œผ๋กœ ๊ฐœ๋ฐœ ํ™˜๊ฒฝ์„ ์„ค์ •ํ•œ๋‹ค.
WSL ํ™˜๊ฒฝ์„ ๊ธฐ์ค€์œผ๋กœ ํ•œ๋‹ค.
 

Running Pinot locally - Apache Pinot Docs

Note that some installations of the JDK do not contain the JNI bindings that are necessary to run all tests, if you see any java.lang.UnsatisfiedLinkError while running tests, you may need to change your JDK. If using Homebrew, you may install AdoptOpenJDK

docs.pinot.apache.org

 

1. Java ์„ค์น˜

sudo apt install openjdk-11-jdk
java -version
javac -version

 

2. Pinot ๋‹ค์šด๋กœ๋“œ

Repository๋ฅผ Fork ํ•œ ํ›„, ๋กœ์ปฌ์— clone ํ•œ๋‹ค. 

git clone https://github.com/ruhz3/pinot.git
git remote add upstream https://github.com/apache/pinot
git remote -v

 

 

3. IntelliJ ์„ค์ •

IntelliJ๋กœ pinot ํ”„๋กœ์ ํŠธ๋ฅผ ์—ฐ๋‹ค.

  • Settings > Build, Execution, Deployment > Build Tools > Maven
    • User settings file : WSL์˜ maven ์„ค์ • ํŒŒ์ผ๋กœ ์ง€์ • (default :  ~\.m2\settings.xml) < Override
    • Local repository : WSL์˜ maven ๋กœ์ปฌ ํด๋”๋กœ ์ง€์ • (default :  ~\.m2\repository.xml) < Override
  • Editor > Code Style
    • Scheme : \\wsl$\Ubuntu\home\ruhz3\workspaces\pinot\config\codestyle-intellij.xml

 

4.  Pinot ๋นŒ๋“œ 

mvn install package -DskipTests -Pbin-dist