arrow flight sql无法解析host

Viewed 72

doris版本2.1.3 flight-sql-jdbc-driver版本15.0.2,创建连接OK,例如String DB_URL = "jdbc:arrow-flight-sql://192.168.201.173:9040?useServerPrepStmts=false"&cachePrepStmts=true&useSSL=false&useEncryption=false";,执行sql时报cfjd.org.apache.arrow.flight.FlightRuntimeException: UNAVAILABLE: unresolved address
查看fe,用show full processlist;
image.png
很多host:0.0.0.0,并且fe日志不停地刷新
image.png

2 Answers

不用 192 的ip,换个ip试试

或者可以在 doris fe 所在的机器跑下文档中的python adbc demo,ip就用 127.0.0.1,看能否连上

不是ip的事情,换成10.xx也一样,能连接上,不过不知道为什么会出现一致打印日志。没找到复现流程,fe一致打印这信息
image.png