mirror of
https://github.com/apache/impala.git
synced 2026-01-26 12:02:21 -05:00
As a side-effect of IMPALA-5216, queries that were scheduled to be executed but eventually got rejected or canceled before starting execution (initializing the coordinator object) got added to the 'query_locations' map but never got removed. As a result, the queries debug page would sometimes show queries running under the "Query Locations" section even if there weren't. This patch fixes that behavior. Testing: Added a custom cluster test. Change-Id: I66c8e59299747df57c9f39db1cb1f46ff6bbab7e Reviewed-on: http://gerrit.cloudera.org:8080/11372 Reviewed-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com> Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>