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
We are using Druidry in our system and we are facing trouble as we cannot get QueryTimeoutException.
For testing,
We sent a POST request to <druidurl>/druid/v2 with body containing groupby query with a timeout. When the query does timeout, we get a 504 Gateway Timeout error response from Druid which looks like the following
On Druid UI, for the same query with timeout, the response looks like the following
Error: Query timeout
Sequence iterator timed out waiting for data
org.apache.druid.query.QueryTimeoutException
However, when we are passing that query to zapr/druidry DruidJerseyClient, it handles only 500 error as shown here. As a result, it doesn't catch the 504 error and considers it as a successful scenario and goes to reading the response here. This leads to the library giving a confusing error that readEntity could not parse the message from Druid.
We want to be able to handle Query timeout gracefully as query timeout is a feature provided by Druid. Also, we want to be able to differentiate between Druid query failure vs timeout as they are two different things.
Can we please add QueryTimeoutException as well?
The text was updated successfully, but these errors were encountered:
Hello,
We are using Druidry in our system and we are facing trouble as we cannot get QueryTimeoutException.
For testing,
We sent a POST request to
<druidurl>/druid/v2
with body containinggroupby
query with a timeout. When the query does timeout, we get a 504 Gateway Timeout error response from Druid which looks like the followingOn Druid UI, for the same query with timeout, the response looks like the following
However, when we are passing that query to zapr/druidry DruidJerseyClient, it handles only 500 error as shown here. As a result, it doesn't catch the 504 error and considers it as a successful scenario and goes to reading the response here. This leads to the library giving a confusing error that readEntity could not parse the message from Druid.
We want to be able to handle Query timeout gracefully as query timeout is a feature provided by Druid. Also, we want to be able to differentiate between Druid query failure vs timeout as they are two different things.
Can we please add QueryTimeoutException as well?
The text was updated successfully, but these errors were encountered: