Files
impala/tests/custom_cluster/test_rpc_exception.py
wzhou-code 6cdc8b5ce7 IMPALA-6788: Abort ExecFInstance() RPC loop early after query failure
Stops issuing ExecQueryFInstance rpcs and cancels any inflight when
backend reports failure.
Adds new debug action CONSTRUCT_QUERY_STATE_REPORT that runs when
constructing a query state report.
Adds a new test case for handling errors reported from query state.

Testing:
 - Ran following command for new test case and verified that the code
   working as expected:
     ./bin/impala-py.test tests/custom_cluster/test_rpc_exception.py\
       ::TestRPCException::test_state_report_error \
       --workload_exploration_strategy=functional-query:exhaustive
 - Passed exhaustive tests.

Change-Id: I034788f7720fc97c25c54f006ff72dce6cb199c3
Reviewed-on: http://gerrit.cloudera.org:8080/16192
Reviewed-by: Thomas Tauber-Marshall <tmarshall@cloudera.com>
Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
2020-07-21 02:43:56 +00:00

8.7 KiB