k8s部署存算分离3.0.3版本如何指定metaservice、fe、be的时区

Viewed 36

1、目前根据官网文档搭建了一个存算分离的doris集群, 但是时区发现都是UTC试了很多办法都没法修改

2、看fe的日志一直在刷[StatisticsUtil.statsTblAvailable():485] stat table does not exist, db_name: __internal_schema, table_name: column_statistics

3、fe be访问配置用的是nodport模式,通过内网lb连接8030对应的端口使用stream_load方式导入数据一直报
curl: (6) Could not resolve host: test-disaggregated-cluster-cg1-1.test-disaggregated-cluster-cg1.bmp-doris.svc.cluster.local
请求:
curl --location-trusted -u root:123456xx -H "column_separator:|" -H "columns:p_partkey,p_name,p_mfgr,p_category,p_brand,p_color,p_type,p_size,p_container,p_dummy" -T ./part.tbl -XPUT http://172.23.11.81:30710/api/test/part/_stream_load

1 Answers

故事 s. 这个怀疑是不是系统的时区不对呢?Doris 是取系统时区的,看看比如在启动 doris 服务之前 export TZ=Asia/Shanghai 临时指定下时区的

其余的2 和 3 和用户对齐了,已经解决,应该是,解析不了这个host,DNS 解析有问题导致。