Author: Thomas Tauber-Marshall <firstname.lastname@example.org>
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 <email@example.com>
Reviewed-by: Thomas Tauber-Marshall <firstname.lastname@example.org>
Tested-by: Impala Public Jenkins