Grace Walkuski
08/19/2021, 9:24 PMjava.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: java.util.concurrent.TimeoutException: Request timed out to {broker url} of 60000 ms
at org.apache.pinot.client.JsonAsyncHttpPinotClientTransport$BrokerResponseFuture.get(JsonAsyncHttpPinotClientTransport.java:173) ~[pinot-java-client-0.7.1.jar:0.7.1-e22be7c3a39e840321d3658e7505f21768b228d6]
at org.apache.pinot.client.JsonAsyncHttpPinotClientTransport$BrokerResponseFuture.get(JsonAsyncHttpPinotClientTransport.java:152) ~[pinot-java-client-0.7.1.jar:0.7.1-e22be7c3a39e840321d3658e7505f21768b228d6]
at org.apache.pinot.client.JsonAsyncHttpPinotClientTransport$BrokerResponseFuture.get(JsonAsyncHttpPinotClientTransport.java:123) ~[pinot-java-client-0.7.1.jar:0.7.1-e22be7c3a39e840321d3658e7505f21768b228d6]
at org.apache.pinot.client.JsonAsyncHttpPinotClientTransport.executeQuery(JsonAsyncHttpPinotClientTransport.java:102) ~[pinot-java-client-0.7.1.jar:0.7.1-e22be7c3a39e840321d3658e7505f21768b228d6]
at org.apache.pinot.client.Connection.execute(Connection.java:127) ~[pinot-java-client-0.7.1.jar:0.7.1-e22be7c3a39e840321d3658e7505f21768b228d6]
at org.apache.pinot.client.Connection.execute(Connection.java:96) ~[pinot-java-client-0.7.1.jar:0.7.1-e22be7c3a39e840321d3658e7505f21768b228d6]
at org.apache.pinot.client.PreparedStatement.execute(PreparedStatement.java:72) ~[pinot-java-client-0.7.1.jar:0.7.1-e22be7c3a39e840321d3658e7505f21768b228d6]
at org.apache.pinot.client.PinotPreparedStatement.executeQuery(PinotPreparedStatement.java:193) ~[pinot-jdbc-client-0.7.1.jar:0.7.1-e22be7c3a39e840321d3658e7505f21768b228d6]
at org.apache.pinot.client.PinotPreparedStatement.execute(PinotPreparedStatement.java:160) ~[pinot-jdbc-client-0.7.1.jar:0.7.1-e22be7c3a39e840321d3658e7505f21768b228d6]
Where is the 60000
ms being set? Can I increase it? Thanks!Xiang Fu
Grace Walkuski
08/19/2021, 9:57 PMGrace Walkuski
08/19/2021, 9:59 PMKen Krugler
08/19/2021, 10:01 PMAsyncHttpClient
, which is being used by JsonAsyncHttpPinotClientTransport
? If so, then the only way I see of changing the connection timeout is via system properties, e.g. -Dcom.ning.http.client.AsyncHttpClientConfig.defaultConnectionTimeoutInMS=120000
, but I haven’t tried that. (also defaultRequestTimeoutInMS, I think)Xiang Fu
Xiang Fu
Xiang Fu
Xiang Fu
Ken Krugler
08/19/2021, 10:02 PMXiang Fu
Xiang Fu
Xiang Fu
Xiang Fu
JsonAsyncHttpPinotClientTransport.java
Ken Krugler
08/19/2021, 11:14 PMBrokerResponseFuture
will wait for the HTTP client to return a result (essentially unbounded). But I think the HTTP client is throwing the timeout exception here.Grace Walkuski
08/20/2021, 4:12 PMKen Krugler
08/21/2021, 2:07 PMGrace Walkuski
08/21/2021, 2:54 PMGrace Walkuski
08/23/2021, 9:53 PMKen Krugler
08/23/2021, 9:55 PMGrace Walkuski
08/23/2021, 9:56 PMGrace Walkuski
08/24/2021, 7:33 PMKen Krugler
08/24/2021, 11:46 PMcd pinot-clients/pinot-jdbc-client/
mvn package
and it built the target/pinot-jdbc-client-0.8.0-SNAPSHOT.jar
file as expected.Ken Krugler
08/24/2021, 11:47 PMGrace Walkuski
08/24/2021, 11:48 PM