-
Notifications
You must be signed in to change notification settings - Fork 163
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
[Bug]: cluster空指针 #152
Comments
试一下用最新的master分支跑一遍? |
cc @qingfei1994 |
@itinycheng 大佬,master分支下,这里url地址必须是完整得jdbc:clickhouse://x.x.x.x:8123地址,前头必须带jdbc,否则会导致url地址判断错误,返回connetion为空,导致报错 |
@lucklymore Master分支改Url pattern了,flink option配置的url会直接传递给 |
@itinycheng 好的大佬,我多翻翻代码,配置多个host应该是随机连一个available的,这个有一定容错性,但是负载均衡这块目前达不到,flink转发请求只有一个机器,吞吐有限,翻了下clickhouse java jdbc项目,看了下部分loadbalance的issue,url可以传入clickhouse jdbc参数,auto_discovery;load_balancing_policy 在尝试这部分参数的效果 |
What happened?
连接ClickHouse集群上的某个节点后,执行基本的查询操作报错。
Affects Versions
commit:279b6ac6dc
What are you seeing the problem on?
Flink-Table-Api (SQL)
How to reproduce
No response
Relevant log output
Anything else
No response
Are you willing to submit a PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: