Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

错误提示: 获取复制表状态失败: zk: node does not exist #27

Closed
zhbdesign opened this issue Apr 21, 2021 · 5 comments
Closed
Labels
enhancement New feature or request

Comments

@zhbdesign
Copy link

tables复制表监控出现错误信息
image

layer初始化的时候可以优化到配置文件吗

01
03
vm185

@zhbdesign
Copy link
Author

<macros> <layer>01</layer> <shard>03</shard> <replica>srt185</replica> </macros>

@YenchangChan
Copy link
Collaborator

你的表创建时指定的zookeeper路径是什么? replicated_table metric监控的是/clickhouse/tables/{cluster}/{shard}/{database} 这个节点,如果不在这个路径下,就会报znode节点不存在。
建议使用ckman自带的api创建表,这样就能正常展示了。

@zhbdesign
Copy link
Author

你的表创建时指定的zookeeper路径是什么? replicated_table metric监控的是/clickhouse/tables/{cluster}/{shard}/{database} 这个节点,如果不在这个路径下,就会报znode节点不存在。
建议使用ckman自带的api创建表,这样就能正常展示了。

在初始化数据库以后,就显示这个错误,应该是获取指标的逻辑没考虑这个情况,另外,有交流群吗?

@YenchangChan
Copy link
Collaborator

有交流群,请加我微信: yudinghou,我拉你进群。

@YenchangChan YenchangChan added the enhancement New feature or request label Apr 23, 2021
@YenchangChan
Copy link
Collaborator

we will fetch zookeeper path from ck in future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants