当前位置:网站首页>05 Doris cluster construction
05 Doris cluster construction
2022-08-01 16:33:00 【Blue wind 9】
Ha ha recently there are a series of related requirements for environment construction
Record it
doris three nodes: 192.168.110.150, 192.168.110.151, 192.168.110.152
150 is fe & be, 151 is be, 152 is be
Three machines have done trusted shell
Doris cluster setup
doris three nodes: 192.168.110.150, 192.168.110.151, 192.168.110.152
1. Basic environment preparation
192.168.110.150, 192.168.110.151, 192.168.110.152 install jdk on it, upload the doris installation package
The installation package is from Downloads | Apache Doris
Here doris 1.0.0 has a compiled installation package to download
Other versions need to be compiled manually, which is more troublesome, you can refer to Compilation | Apache Doris
2. doris configuration adjustment
Update fe/conf/fe.conf, be/conf/be.conf configuration files, update priority_networks
Then copy binary to slave01, slave02
priority_networks = 192.168.110.150/24;127.0.0.1/243. Start the cluster
Start fe, be on master respectively
Start be node on slave01, slave02
Then the be node will be in a state of waiting to interact with the fe node at this time
Then enter the fe service and join the backend nodes of master, slave01, slave02
[email protected]:~# mysql -h master -P 9030 -u root -pEnter password:Welcome to the MySQL monitor. Commands end with ; or \g.Your MySQL connection id is 0Server version: 5.1.0 Doris version 1.0.0-rc03-UnknownCopyright (c) 2000, 2021, Oracle and/or its affiliates.Oracle is a registered trademark of Oracle Corporation and/or itsaffiliates. Other names may be trademarks of their respectiveowners.Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.mysql> ALTER SYSTEM ADD BACKEND "master:9050";Query OK, 0 rows affected (0.03 sec)mysql> ALTER SYSTEM ADD BACKEND "slave01:9050";Query OK, 0 rows affected (0.08 sec)mysql> ALTER SYSTEM ADD BACKEND "slave02:9050";Query OK, 0 rows affected (0.02 sec)4. Test the cluster
Enter fe's management interface, view backends

Create test library table
CREATE DATABASE testDb;CREATE TABLE testDb.testTable(k1 bigint,k2 varchar(100),v varchar(100) REPLACE) DISTRIBUTED BY HASH(k1) BUCKETS 8;Import data via web interface

Do some simple queries

End
边栏推荐
猜你喜欢

第一次改开源中间件keycloak总个结

【Unity,C#】哨兵射线触发器模板代码

2022年7月最热的10篇AI论文

【paper】Cam2BEV论文浅析

南京科技大学、中国电子科技第28研究所等联合|MLRIP: Pre-training a military language representation model with informative factual knowledge and professional knowledge base(预训练具有丰富事实知识和专业知识库的军事语言表示模型)

暑气渐敛,8月让我们开源一夏!

p5js炫酷网页流光动画

MUI as a mobile phone to return to the action bar

5年测试,只会功能要求17K,功能测试都敢要求这么高薪资了?

珠海市生物安全P3实验室主体结构封顶
随机推荐
kubelet node pressure eviction
计算机系统与网络安全技术——第一章——信息安全概述——1.1-网络安全定义——什么是信息?
22年镜头“卷”史,智能手机之战卷进死胡同
指针进阶(三)之指针与数组笔试题
使用Canvas实现网页鼠标签名效果
11 一发布就发布一系列系列
面试必问的HashCode技术内幕
MySQL加锁案例分析
LeetCode Week 303
今晚直播!
OpenCV-resize函数「建议收藏」
intentservice使用(Intention)
SQL函数 TIMESTAMPDIFF
火花:集群计算工作集
显示为弹出窗口是什么意思(电脑总是弹出广告)
Chapter 13 Manually create a REST service (1)
【黑马早报】胡军代言悟空理财涉嫌欺诈,疑似涉及390亿元;涪陵榨菜回应榨菜吃出脚指甲; 鸿星尔克再捐1个亿;腾讯控股股价跌回5年前...
02 es 集群搭建
【Unity,C#】哨兵点位循迹模板代码
06 redis 集群搭建