Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

SDK for Apache Doris

License

NotificationsYou must be signed in to change notification settings

apache/doris-sdk

This repository contains the sdk for theApache Doris project.

Build and Install

Ready to work

1.Modify thecustom_env.sh.tpl file and rename it tocustom_env.sh

2.Specify the thrift installation directory

##source file content#export THRIFT_BIN=#export MVN_BIN=#export JAVA_HOME=##amend as below,MacOS as an exampleexport THRIFT_BIN=/opt/homebrew/Cellar/thrift@0.16.0/0.16.0/bin/thriftexport MVN_BIN=/opt/homebrew/Cellar/maven/3.9.0/bin/mvnexport JAVA_HOME=/Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home

Installthrift 0.16.0

Windows:

  1. Download:`http://archive.apache.org/dist/thrift/0.16.0/thrift-0.16.0.exe`  2. Modify thrift-0.16.0.exe to thrift.exe

MacOS:

   brew install thrift@0.16.0

Note: Executingbrew install thrift@0.16.0 on MacOS may report an error that the version cannot be found. The solution is as follows, execute it in the terminal:

  1. brew tap-new$USER/local-tap  2. brew extract --version='0.16.0' thrift$USER/local-tap  3. brew install thrift@0.16.0

Linux:

  1. wget https://archive.apache.org/dist/thrift/0.16.0/thrift-0.16.0.tar.gz# Download source package  2. yum install -y autoconf automake libtool cmake ncurses-devel openssl-devel lzo-devel zlib-devel gcc gcc-c++# Install dependencies  3. tar zxvf thrift-0.16.0.tar.gz  4.cd thrift-0.16.0  5. ./configure --without-tests  6. make  7. make install  8. thrift --version# Check the version after installation is complete

Note: If you have compiled Doris, you do not need to install thrift, you can directly use$DORIS_HOME/thirdparty/installed/bin/thrift

Execute following command inthrift-service dir:

  sh build.sh

[8]ページ先頭

©2009-2025 Movatter.jp