You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the usage question you have. Please include as many useful details as possible.
I am new to arrow flight jdbc driver.
I have been doing some with flight sql protocol.
I have encountered this problem.
Mine code is kind of like this.
package org.example;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.Statement;
// Press Shift twice to open the Search Everywhere dialog and type `show whitespaces`,
// then press Enter. You can now see whitespace characters in your code.
public class Main {
public static void main(String[] args) throws Exception {
Class.forName("org.apache.arrow.driver.jdbc.ArrowFlightJdbcDriver");
Connection connection = DriverManager.getConnection("jdbc:arrow-flight-sql://192.168.0.220:33453/?useEncryption=false", "admin", "password");
System.out.println("obtain connection ok");
Statement statement = connection.createStatement();
String str = "select 100;";
ResultSet result = statement.executeQuery(str);
System.out.println("execute query ok");
while (result.next()) {
int a = result.getInt(0);
System.out.println(a);
}
}
}
Caused by: cfjd.io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection timed out: no further information: /10.233.105.111:3454
Caused by: java.net.ConnectException: Connection timed out: no further information
I don't know the host and port come from wired.
anyone know the reason??
Component(s)
Java
The text was updated successfully, but these errors were encountered:
kou
changed the title
What this error about ? Connection timed out: no further information: /10.233.105.111:3454
[Java] What this error about ? Connection timed out: no further information: /10.233.105.111:3454
Apr 10, 2024
Describe the usage question you have. Please include as many useful details as possible.
I am new to arrow flight jdbc driver.
I have been doing some with flight sql protocol.
I have encountered this problem.
Mine code is kind of like this.
I see this error msg
flight-jdbc.log
I don't know the host and port come from wired.
anyone know the reason??
Component(s)
Java
The text was updated successfully, but these errors were encountered: