Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
Impala 1.1.1
Description
For a big join query, such as:
select * from tpch.lineitem x, tpch.lineitem y where x.l_orderkey=y.l_orderkey;
Hitting Ctrl-C in the shell doesn't cancel the query immediately (i.e. more than a few sec).
The problem is that the Shell is in the middle of the Fetch RPC and can't process the Cancel.
When Impala return a "FINISHED" state, it's simply means it's finished planning. No result is available yet. So, the FETCH is blocked. While the shell is blocked on Fetch, it's not processing the Ctrl-C.
To work around, use the Impala debug webpage to cancel the query.
It is a serious issue. That means all BIG JOIN queries can't be cancelled until the first row has been returned.