Author: Thomas Tauber-Marshall <email@example.com>
Date: Thu May 18 12:50:48 2017 -0700
IMPALA-5340: Query profile displays stale query state
Previously, updates to the query state in ClientRequestState were
not immediately reflected in the query profile, potentially
leading to the profile showing an incorrect state for an extended
perioud during execution.
In particular, queries were being shown in the 'CREATED' state
long after they had started 'RUNNING'.
The fix is to update the profile whenever the state is updated.
- Extended existing hs2 tests and added a beeswax test to check
for expected query states in the profile
Reviewed-by: Dan Hecht <firstname.lastname@example.org>
Reviewed-by: Thomas Tauber-Marshall <email@example.com>
Tested-by: Impala Public Jenkins