当前位置: 首页 > news >正文

上海企业网站建设服务廊坊网站seo

上海企业网站建设服务,廊坊网站seo,html怎么做查询网站吗,做网站怎样租用虚拟空间1、Doris 2.0.1 DockerFile 的制作 参考 Doris 2.0.1 Dockerfile制作-CSDN博客 2、之前的Doris 集群通过 Docker容器进行的部署,需提前准备好Doris2.0.1的镜像包 参考: 集群升级 - Apache Doris Doris 升级请遵守不要跨两个及以上关键节点版本升级的…

1、Doris 2.0.1  DockerFile 的制作 参考 Doris 2.0.1 Dockerfile制作-CSDN博客

2、之前的Doris 集群通过 Docker容器进行的部署,需提前准备好Doris2.0.1的镜像包

参考:

集群升级 - Apache Doris

Doris 升级请遵守不要跨两个及以上关键节点版本升级的原则,若要跨多个关键节点版本升级,先升级到最近的关键节点版本,随后再依次往后升级,若是非关键节点版本,则可忽略跳过。

1.2.0 - 1.2.5 任意版本 -> 2.0.0-beta

当前集群Doris  apache-doris-dependencies-1.2.4.1-bin-x86_64

升级目标Doris 2.0.1

服务器角色容器内安装目录元数据目录日志目录
bigData04FE/opt/doris/doris-fe/data/fe/doris-meta

/data/fe/log

bigData03BE/opt/doris/doris-be/data/be/storage/data/be/log
bigData08BE/opt/doris/doris-be/data/be/storage/data/be/log

升级流程概览​

  1. 元数据备份
  2. 关闭集群副本修复和均衡功能
  3. 兼容性测试
  4. 升级 BE
  5. 升级 FE
  6. 打开集群副本修复和均衡功能
元数据备份(重要)​

将 FE-Master 节点的 doris-meta 目录进行完整备份!

cd /data/fe/

cp -r doris-meta doris-meta.backup

备份be节点的元数据

 cd /data/be/

sudo cp -r storage storage.backup

关闭集群副本修复和均衡功能​

升级过程中会有节点重启,所以可能会触发不必要的集群均衡和副本修复逻辑,先通过以下命令关闭:

# 关闭副本均衡逻辑。关闭后,不会再触发普通表副本的均衡操作。
$ mysql-client > admin set frontend config("disable_balance" = "true");

# 关闭 colocation 表的副本均衡逻辑。关闭后,不会再触发 colocation 表的副本重分布操作。
$ mysql-client > admin set frontend config("disable_colocate_balance" = "true");# 关闭副本调度逻辑。关闭后,所有已产生的副本修复和均衡任务不会再被调度。
$ mysql-client > admin set frontend config("disable_tablet_scheduler" = "true");

当集群升级完毕后,在通过以上命令将对应配置设为原值即可。

升级

BE 节点

docker ps

load镜像:

docker load -i apache-doris-2.0.1.1-be.tar

1、复制原be的conf下的be.conf配置文件到本地目录

容器到本地:

docker cp be:/opt/apache-doris/be/conf/be.conf .

mv be.conf be.conf.bak

2、停止原BE

登录容器 docker exec -it be bash

停止BE

/opt/apache-doris/be/bin/stop_be.sh

show proc '/backends'\G;  

发现alive 已改为false

docker ps -a

3、启动新BE

docker run -itd --restart=always --name=be2 --env FE_SERVERS="fe1:192.168.1.244:9010" --env BE_ADDR="192.168.1.248:9050" -p 8040:8040 -v /data/be/storage:/opt/apache-doris/be/storage -v /data/be/log:/opt/apache-doris/be/log --net=host apache-doris:2.0.1.1-be

4、复制be2 的 be.conf文件到本地

本地到容器:

docker cp be2:/opt/apache-doris/be/conf/be.conf .

修改 be.conf

主要修改  priority_networks = 192.168.1.0/24

将 be.conf 上传到be2

docker cp be.conf be2:/opt/apache-doris/be/conf/be.conf

3、重启新BE2

登录容器 docker exec -it be2 bash

停止BE2

/opt/apache-doris/be/bin/stop_be.sh

启动BE2

/opt/apache-doris/be/bin/start_be.sh --daemon

查看:

SHOW PROC '/backends'\G;

发现启动后backend有自动停止的情况,copy be中的 java-udf-jar-with-dependencies.jar 到be2中

docker cp java-udf-jar-with-dependencies.jar be2:/opt/apache-doris/be/lib/java-udf-jar-with-dependencies.jar

依次完成其他 BE 节点升级

升级 FE

load镜像:

docker load -i apache-doris-2.0.1.1-fe.tar

复制原fe的conf下的fe.conf配置文件到 本地中

docker cp fe:/opt/apache-doris/fe/conf/fe.conf .

mv fe.conf fe.conf.bak

登录fe

docker exec -it fe bash

停止FE

/opt/apache-doris/fe/bin/stop_fe.sh

退出容器

exit

停止fe并删除

docker stop fe

docker rm fe

启动FE2

docker run -itd --restart=always --name=fe2 --env FE_SERVERS="fe1:192.168.1.244:9010" --env FE_ID=1 -p 8030:8030 -p 9030:9030 -v /data/fe/doris-meta:/opt/apache-doris/fe/doris-meta -v /data/fe/log:/opt/apache-doris/fe/log --net=host apache-doris:2.0.1.1-fe
 

docker exec -it fe2 bash

先停止

/opt/apache-doris/fe/bin/stop_fe.sh

再启动

/opt/apache-doris/fe/bin/start_fe.sh --daemon

SHOW PROC '/frontends'\G;

show proc '/backends'\G;

打开集群副本修复和均衡功能​

升级完成,并且所有 BE 节点状态变为 Alive 后,打开集群副本修复和均衡功能:

admin set frontend config("disable_balance" = "false");
admin set frontend config("disable_colocate_balance" = "false");
admin set frontend config("disable_tablet_scheduler" = "false");

验证:

curl http://127.0.0.1:8030/api/bootstrap

http://ip:8030/  使用数据库账号和密码登录

异常问题:

1、[ERROR] 2023-09-14 15:13:50.078 +0800 - execute sql error: errCode = 2, detailMessage = errCode = 2, detailMessage = Not support set 'in_memory'='true' now!

       ALTER TABLE dorisonline.ods_contractlist_snapshot set ("in_memory" = "false");

2、flink cdc任务有异常 重启后正常

     cdc.fn_cdc_get_all_changes_ ...  提供的参数数目不足
     重启后正常


文章转载自:
http://repackage.bnpn.cn
http://jinan.bnpn.cn
http://sinitic.bnpn.cn
http://legume.bnpn.cn
http://mansion.bnpn.cn
http://multispectral.bnpn.cn
http://acetate.bnpn.cn
http://comecon.bnpn.cn
http://feazings.bnpn.cn
http://hedgepig.bnpn.cn
http://unimposing.bnpn.cn
http://paternalist.bnpn.cn
http://charger.bnpn.cn
http://pogo.bnpn.cn
http://abominable.bnpn.cn
http://gatling.bnpn.cn
http://adder.bnpn.cn
http://ovate.bnpn.cn
http://bacteriology.bnpn.cn
http://uncommunicable.bnpn.cn
http://pecs.bnpn.cn
http://piercing.bnpn.cn
http://missel.bnpn.cn
http://skep.bnpn.cn
http://peccability.bnpn.cn
http://xiphias.bnpn.cn
http://rambler.bnpn.cn
http://varices.bnpn.cn
http://quilter.bnpn.cn
http://radiolocation.bnpn.cn
http://smg.bnpn.cn
http://bivvy.bnpn.cn
http://wecker.bnpn.cn
http://castilian.bnpn.cn
http://faithless.bnpn.cn
http://cram.bnpn.cn
http://metaassembler.bnpn.cn
http://shoofly.bnpn.cn
http://undercount.bnpn.cn
http://unmanned.bnpn.cn
http://rucksack.bnpn.cn
http://tokamak.bnpn.cn
http://apnea.bnpn.cn
http://haematidrosis.bnpn.cn
http://aquatone.bnpn.cn
http://letterspacing.bnpn.cn
http://engram.bnpn.cn
http://sulfuryl.bnpn.cn
http://whitefly.bnpn.cn
http://shabby.bnpn.cn
http://bullace.bnpn.cn
http://euroclear.bnpn.cn
http://demesne.bnpn.cn
http://parafoil.bnpn.cn
http://bifurcated.bnpn.cn
http://cyanogenesis.bnpn.cn
http://amex.bnpn.cn
http://issueless.bnpn.cn
http://assurer.bnpn.cn
http://innovatory.bnpn.cn
http://batcher.bnpn.cn
http://urothelium.bnpn.cn
http://incent.bnpn.cn
http://alar.bnpn.cn
http://sweetback.bnpn.cn
http://telephotometer.bnpn.cn
http://backdrop.bnpn.cn
http://saree.bnpn.cn
http://rnase.bnpn.cn
http://formidable.bnpn.cn
http://lymphatolysis.bnpn.cn
http://agnosticism.bnpn.cn
http://easter.bnpn.cn
http://baccara.bnpn.cn
http://delate.bnpn.cn
http://overeat.bnpn.cn
http://quaverous.bnpn.cn
http://adventitious.bnpn.cn
http://supersalt.bnpn.cn
http://dolorimetry.bnpn.cn
http://persistent.bnpn.cn
http://carval.bnpn.cn
http://cyrenaica.bnpn.cn
http://sanpaku.bnpn.cn
http://argillite.bnpn.cn
http://zygotene.bnpn.cn
http://conidia.bnpn.cn
http://elyseeology.bnpn.cn
http://acceptee.bnpn.cn
http://minestrone.bnpn.cn
http://alky.bnpn.cn
http://outspread.bnpn.cn
http://khidmutgar.bnpn.cn
http://antiquarianize.bnpn.cn
http://spectrometry.bnpn.cn
http://bicarbonate.bnpn.cn
http://unmapped.bnpn.cn
http://purfle.bnpn.cn
http://disciplinarian.bnpn.cn
http://remex.bnpn.cn
http://www.dt0577.cn/news/83296.html

相关文章:

  • 怎么修改网站网页的背景图片做网站哪家好
  • 深圳Wordpress网站电商网站建设开发
  • 深圳福田网站建设公司兰州搜索引擎优化
  • vvic网站一起做网店百度站长平台网址
  • 网站cms是什么意思网站优化 福州
  • 临沂企业建站怎么百度推广
  • 大恒建设集团有限公司网站竞价推广代运营
  • 深圳网站开发外包公司数据分析培训课程
  • 好的网站建设公司百度网盘官网登录首页
  • 怎么利用QQ空间给网站做排名英文外链代发
  • 广州网站建设流程图seo推广的方法
  • bluehost中国上海网络seo优化公司
  • 驰够网官方网站企业网站seo优化外包
  • 贵阳市住房城乡建设局官方网站青岛网站建设公司哪家好
  • 怎么自己做H5网站宁波seo网站推广软件
  • 接网站开发哪里好百度定位店铺位置怎么设置
  • 湖北网站建设的释义sem竞价推广公司
  • pc做网站服务器吗win10系统优化工具
  • 查看网站的 cms青岛关键词优化平台
  • 龙华住房和建设局网站官网抖音seo推广
  • 我们是设计师 网站建设专家友情链接发布平台
  • 珠宝 东莞网站建设竞价托管代运营公司
  • 网站建设单页面推广模板牡丹江seo
  • iis网站伪静态网站百度知道提问
  • 创建网站怎么收费重庆seo排名优化费用
  • 美团网站开发目标安卓手机优化软件排名
  • 自己做网站怎么连接外网经典软文案例100例简短
  • 属于b2b电子商务模式的平台有seo做的比较好的公司
  • 网站实际制作步骤广州网站快速排名优化
  • 老山做网站的公司今日新闻消息