Apache Doris is an MPP-based real-time data warehouse known for its high query speed. For queries on large datasets, it returns results in sub-seconds. It supports both high-concurrent point queries and high-throughput complex analysis. It can be used for report analysis, ad-hoc queries, unified data warehouse, and data lake query acceleration. Based on Apache Doris, users can build applications for user behavior analysis, A/B testing platform, log analysis, user profile analysis, and e-commerce order analysis.
Server Info
Host
IP
OS
doris_fe
192.168.1.10
centos7
doris_be1
192.168.1.20
centos7
doris_be2
192.168.1.21
centos7
doris_be3
192.168.1.22
centos7
Instance
Port
Default Port
Communication Direction
Description
BE
be_port
9060
FE –> BE
thrift server port on BE, receiving requests from FE
BE
webserver_port
8040
BE <–> BE
http server port on BE
BE
heartbeat_service_port
9050
FE –> BE
heartbeat service port (thrift) on BE, receiving heartbeats from FE
BE
brpc_port
8060
FE <–> BE, BE <–> BE
brpc port on BE, used for communication between BEs
FE
http_port
8030
FE <–> FE, user <–> FE
http server port on FE
FE
rpc_port
9020
BE –> FE, FE <–> FE
thrift server port on FE, configuration of each FE should be consistent
# uncomment and modify system DefaultLimitNOFILE sed -i 's/^#DefaultLimitNOFILE=.*$/DefaultLimitNOFILE=204800/' /etc/systemd/system.conf # uncomment and modify system DefaultLimitNPROC sed -i 's/^#DefaultLimitNPROC=.*$/DefaultLimitNPROC=204800/' /etc/systemd/system.conf
# uncomment and modify user DefaultLimitNOFILE sed -i 's/^#DefaultLimitNOFILE=.*$/DefaultLimitNOFILE=204800/' /etc/systemd/user.conf # uncomment and modify user DefaultLimitNPROC sed -i 's/^#DefaultLimitNPROC=.*$/DefaultLimitNPROC=204800/' /etc/systemd/user.conf
#fe wget https://dist.apache.org/repos/dist/release/doris/1.1/1.1.2-rc05/apache-doris-fe-1.1.2-bin.tar.gz tar -zxvf apache-doris-fe-1.1.2-bin.tar.gz cd apache-doris-fe-1.1.2-bin cp -a fe /data/doris/fe
#be wget https://dist.apache.org/repos/dist/release/doris/1.1/1.1.2-rc05/apache-doris-be-1.1.2-bin-x86_64.tar.gz tar -zxvf apache-doris-be-1.1.2-bin-x86_64.tar.gz cd apache-doris-be-1.1.2-bin-x86_64 cp -a be /data/doris/be
Configure the IP CIDR based on the network interface IP.
priority_networks = 192.168.1.0/24
BE
storage_root_path = ${DORIS_HOME}/storage # Whether to log stream load enable_stream_load_record=true # Whether to disable using page cache for index caching disable_storage_page_cache=true # Interval for file handle cache cleanup cache_clean_interval=180 # Memory limit for all import threads on a single node load_process_max_memory_limit_bytes=5368709120 # Stream load request limit max_running_txn_num_per_db=10000
-- edit default password SET PASSWORD FOR'username'= PASSWORD('password');
After the installation is complete, if Doris needs to be accessed from the public internet, the DNS should be resolved to the internal IP address of the Doris FE. If the DNS resolves to the public IP address of the FE, it will not be accessible.