欢迎查阅本周的 Apache Doris 社区 FAQ 栏目!
在这个栏目中,每周将筛选社区反馈的热门问题和话题,重点回答并进行深入探讨。旨在为广大用户和开发者分享有关 Apache Doris 的常见问题。
通过这个每周 FAQ 栏目,希望帮助社区小伙伴更好地了解和应用 Apache Doris,促进经验交流和技术共享。
欢迎查阅本周的 Apache Doris 社区 FAQ 栏目!
在这个栏目中,每周将筛选社区反馈的热门问题和话题,重点回答并进行深入探讨。旨在为广大用户和开发者分享有关 Apache Doris 的常见问题。
通过这个每周 FAQ 栏目,希望帮助社区小伙伴更好地了解和应用 Apache Doris,促进经验交流和技术共享。
❓Q1 查询报错:timeout when waiting for send fragments RPC
💡A1 fragments rpc通信超时导致,处理步骤:
be.conf:
fragment_pool_thread_num_max = 2048
fragment_pool_queue_size = 4096
brpc_num_threads = 256
fe.conf
remote_fragment_exec_timeout_ms = 30000
具体可以查阅Doris论坛帖子:
https://ask.selectdb.com/questions/D1F4/she-qu-wen-ti-timeout-when-waiting-for-send-fragments-rpc-yi-chang/E1G4
❓Q2 为什么with select语法兼容,但insert into with select不支持?
💡A2 两种方式参考:
❓Q1 导入报错:get tableList write lock timeout
💡A1 如下:
❓Q2 stream load时报错:[PUBLISH TIMEOUT]transaction commit successfully, BUT data will be visible later
💡A2 导入实际时成功的,只是延迟可见。在Apache Doris 2.0.4已优化,建议升级至>=2.0.4的版本。
Release 2.0.4,可以查阅:
https://doris.apache.org/zh-CN/docs/releasenotes/release-2.0.4
❓Q3 表中有个insertTime字段是默认生成时间的,streamload导入csv数据(不包含insertTime)时报错:actual column number in csv file is less than schema column number
💡A3 如果指定 columns ,需要包含所有表字段,例如
-H "columns: a,b,c,d,insertTime=current_timestamp()"
❓Q1 BE无法正常启动:
W0304 16:03:13.052549 14927 olap_meta.cpp:80] rocks db open failed, reason:IO error: While lock file: /data/doris/be/storage/meta/LOCK: Resource temporarily unavailable
W0304 16:03:13.053174 14927 data_dir.cpp:203] init OlapMeta failed, error: [IO_ERROR]open rocksdb failed, path=/data/doris/be/storage
💡A1 如下:
❓Q2 是否可以跨2个机房搭建Doris集群?
💡A2 如下:
❓Q3 FE集群异常,fe.log :Clock delta: xxxx ms. between Feeder: xxxx and this Replica exceeds max permissible delta: xxxx ms
💡A3 非主 FE 到主 FE 主机之间的最大可接受时钟偏差超过默认值5秒导致,需要开启 ntp 确保时间同步,小于默认的5秒时差。由fe的max_bdbje_clock_delta_ms参数控制。
FE配置项:
https://doris.apache.org/zh-CN/docs/admin-manual/config/fe-config
❓Q4 Doris出现事务回滚失败后,回滚失败的数据会怎么处理?
💡A4 内部会有 GC 的逻辑,去定期删除清理。
❓Q 基于Doris做数据分层和实时计算,有哪些方案?
💡A 关于Doris做数据分层和实时计算的方案可参考:
一臻数据@yz-jayhua