GithubHelp home page GithubHelp logo

apache / doris-sdk Goto Github PK

View Code? Open in Web Editor NEW
7.0 35.0 7.0 36 KB

SDK for Apache Doris

Home Page: https://doris.apache.org

License: Apache License 2.0

Smarty 3.90% Shell 33.51% Thrift 62.59%
bigquery database dbt delta-lake elt etl hadoop hive hudi iceberg

doris-sdk's Introduction

Doris SDK

This repository contains the sdk for the Apache Doris project.

Build and Install

Ready to work

1.Modify the custom_env.sh.tpl file and rename it to custom_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 example
export THRIFT_BIN=/opt/homebrew/Cellar/[email protected]/0.16.0/bin/thrift
export MVN_BIN=/opt/homebrew/Cellar/maven/3.9.0/bin/mvn
export JAVA_HOME=/Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home

Install thrift 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 [email protected]

Note: Executing brew install [email protected] 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 [email protected]

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 in thrift-service dir:

  sh build.sh

doris-sdk's People

Contributors

caoliang-web avatar dongliang-0 avatar jnsimba avatar morningman avatar vinlee19 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.