Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
ghx-label-5
Description
IMPALA-7312 added a fetch timeout controlled by the query option FETCH_ROWS_TIMEOUT_MS. The issue is that the timeout only applies after the first batch of rows are available. The issue is that both Beeswax and HS2 clients call request_state->BlockOnWait inside ImpalaServer::FetchInternal. The call to BlockOnWait blocks until rows are ready to be consumed via ClientRequestState::FetchRows.
So clients can still end up blocking indefinitely waiting for the first row batch to appear.
Attachments
Issue Links
- is duplicated by
-
IMPALA-9032 Impala returns 0 rows over hs2-http without waiting for fetch_rows_timeout_ms timeout
- Resolved
- is related to
-
IMPALA-7312 Non-blocking mode for Fetch() RPC
- Resolved
- relates to
-
IMPALA-10566 Change the default value of FETCH_ROWS_TIMEOUT_MS to 0
- Open