Slackbot
09/12/2022, 5:10 PMGian Merlino
09/13/2022, 12:42 AMGian Merlino
09/13/2022, 12:42 AMGian Merlino
09/13/2022, 12:43 AMAs a caller, it is important that you properly handle response truncation. This is easy for the object and array formats, since truncated responses will be invalid JSON. For the line-oriented formats, you should check the trailer they all include: one blank line at the end of the result set. If you detect a truncated response, either through a JSON parsing error or through a missing trailing newline, you should assume the response was not fully delivered due to an error.
Gian Merlino
09/13/2022, 12:44 AMSourav Saraf
09/13/2022, 9:19 AMGian Merlino
09/13/2022, 4:39 PMtimeout https://druid.apache.org/docs/latest/querying/query-context.htmlSourav Saraf
09/14/2022, 2:25 PMtimeout context parameter with the API call. Still it gets only part of data out of DruidSourav Saraf
09/15/2022, 2:23 PMAvaticaClientRuntimeException: Remote driver error: QueryTimeoutException: url[<http://10.111.125.60:8083/druid/v2/>] timed out. Error -1 (00000) UNKNOWN
org.apache.druid.query.QueryTimeoutException: url[<http://10.XXX.XXX.XX:8083/druid/v2/>] timed out
at org.apache.druid.client.JsonParserIterator.timeoutQuery(JsonParserIterator.java:204)
at org.apache.druid.client.JsonParserIterator.next(JsonParserIterator.java:119)
at org.apache.druid.java.util.common.guava.BaseSequence.makeYielder(BaseSequence.java:90)
at org.apache.druid.java.util.common.guava.BaseSequence.access$000(BaseSequence.java:27)
at org.apache.druid.java.util.common.guava.BaseSequence$1.next(BaseSequence.java:114)
at org.apache.druid.java.util.common.guava.MergeSequence.makeYielder(MergeSequence.java:1Sourav Saraf
09/15/2022, 2:24 PMGian Merlino
09/15/2022, 8:12 PMGian Merlino
09/15/2022, 8:15 PMdruid.broker.http.readTimeout (default PT15M) or druid.router.http.readTimeout (default PT8M)Sourav Saraf
09/19/2022, 7:06 AMGian Merlino
09/19/2022, 5:20 PMtimeout: 900000 (15 minutes) and raise druid.router.http.readTimeout = PT15M