mirror of
https://github.com/apache/impala.git
synced 2026-02-03 18:00:39 -05:00
Changed the HS2 call to be synchronous. The previous code had a race condition because wait_to_finish needs to be called before checking the result set for Hive. Calling execute synchronously for HS2 ensures that the result set is ready. Change-Id: I5ab4b90ba2e1a439119d37fe9fb9c55eeeb53ba0 Reviewed-on: http://gerrit.cloudera.org:8080/18133 Reviewed-by: Csaba Ringhofer <csringhofer@cloudera.com> Tested-by: Csaba Ringhofer <csringhofer@cloudera.com>