Skip to content
Apache Doris (Incubating)
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/ISSUE_TEMPLATE
be Make add_pending_segment_group() idempotent (#1001) Apr 23, 2019
bin Add --daemon option to start script (#642) Feb 20, 2019
conf Fix fe.conf audit_log_moudles,sys_log_roll_mode,audit_log_roll_mode s… Nov 17, 2018
docker Copy the latest source code from local in dockerfile (#651) Feb 22, 2019
docs Fix some error in doc (#998) Apr 23, 2019
fe Fix bug that failed to choose dest replica for version incomplete rep… Apr 23, 2019
fs_brokers/apache_hdfs_broker Add --daemon option to start script (#642) Feb 20, 2019
gensrc
thirdparty
tools/row_to_column Transform row-oriented table to columnar-oriented table (#311) Nov 16, 2018
webroot/static
.gitignore Add http post feature for HttpClient (#773) Mar 19, 2019
DISCLAIMER
LICENSE.txt
NOTICE.txt Update year in Notice file (#618) Feb 1, 2019
README.md
build.sh Call curl_global_init at the begining (#602) Jan 30, 2019
env.sh Complete license and build script (#473) Dec 27, 2018
run-fe-ut.sh Change license to Apache License 2.0 (#262) Nov 1, 2018
run-ut.sh Add EsScanNode (#450) Jan 17, 2019

README.md

Apache Doris (incubating)

Join the chat at https://gitter.im/apache-doris/Lobby

Doris is an MPP-based interactive SQL data warehousing for reporting and analysis. It is open-sourced by Baidu.

1. License

Apache License, Version 2.0

2. Technology

Doris mainly integrates the technology of Google Mesa and Apache Impala, and it based on a column-oriented storage engine and can communicate by MySQL client.

3. User cases

Doris not only provides high concurrent low latency point query performance, but also provides high throughput queries of ad-hoc analysis.

Doris not only provides batch data loading, but also provides near real-time mini-batch data loading.

Doris also provides high availability, reliability, fault tolerance, and scalability.

The simplicity (of developing, deploying and using) and meeting many data serving requirements in single system are the main features of Doris (refer to Overview).

4. Compile and install

Currently only supports Docker environment and Linux OS, such as Ubuntu and CentOS.

4.1 Compile in Docker environment (Recommended)

We offer a docker images as a Doris compilation environment. You can compile Doris from source in it and run the output binaries in other Linux environment.

Firstly, you must be install and start docker service.

And then you could build Doris as following steps:

Step1: Pull the docker image with Doris building environment

$ docker pull apachedoris/doris-dev:build-env

You can check it by listing images, for example:

$ docker images
REPOSITORY              TAG                 IMAGE ID            CREATED             SIZE
apachedoris/doris-dev   build-env           f8bc5d4024e0        21 hours ago        3.28GB

Step2: Run the Docker image

You can run the image directyly:

$ docker run -it apachedoris/doris-dev:build-env

Or if you want to compile the source located in your local host, you can map the local directory to the image by running:

$ docker run -it -v /your/local/path/incubator-doris-DORIS-x.x.x-release/:/root/incubator-doris-DORIS-x.x.x-release/ apachedoris/doris-dev:build-env

Step3: Download Doris source

Now you should in docker environment.

You can download Doris source by release package or by git clone in image.

(If you already downloaded the source in your local host and map it to the image in Step2, you can skip this step.)

$ wget https://dist.apache.org/repos/dist/dev/incubator/doris/xxx.tar.gz
or
$ git clone https://github.com/apache/incubator-doris.git

Step4: Build Doris

Enter Doris source path and build Doris.

$ sh build.sh

After successfully building, it will install binary files in the directory output/.

4.2 For Linux OS

Prerequisites

You must be install following softwares:

GCC 5.3.1+, Oracle JDK 1.8+, Python 2.7+, Apache Maven 3.5+, CMake 3.4.3+

After you installed above all, you also must be set them to environment variable PATH and set JAVA_HOME.

If your GCC version is less than 5.3.1, you can run:

sudo yum install devtoolset-4-toolchain -y

and then, set the path of GCC (e.g /opt/rh/devtoolset-4/root/usr/bin) to the environment variable PATH.

Compile and install

Run following script, it will compile thirdparty libraries and build whole Doris.

sh build.sh

After successfully building, it will install binary files in the directory output/.

5. Reporting Issues

If you find any bugs, please file a GitHub issue.

6. Links

You can’t perform that action at this time.