Open luckymlog opened 1 year ago
eg: 0.7.1
命令./bin/quicksql-server.sh start -p 5888 -r flink server启动正常 客户端报一直报The server failed to issue an HTTP response, retrying
public static void main(String[] args) throws SQLException, ClassNotFoundException { Class.forName("com.qihoo.qsql.client.Driver"); //注入Drvier
Properties properties = new Properties(); properties.setProperty("runner","jdbc"); String url = "jdbc:quicksql:url=http://10.10.99.9:5888"; Connection connection = DriverManager.getConnection(url,properties); Statement pS = connection.createStatement(); String sql = "select * from (values ('a', 1), ('b', 2))"; ResultSet rs = pS.executeQuery(sql); while (rs.next()) { System.out.println(rs.getString(1)); System.out.println(rs.getString(2)); } rs.close(); pS.close(); }
The server failed to issue an HTTP response, retrying
Versions
eg: 0.7.1
Describe the bug
命令./bin/quicksql-server.sh start -p 5888 -r flink server启动正常 客户端报一直报The server failed to issue an HTTP response, retrying
To Reproduce
public static void main(String[] args) throws SQLException, ClassNotFoundException { Class.forName("com.qihoo.qsql.client.Driver"); //注入Drvier
Full Output Logs
The server failed to issue an HTTP response, retrying