Tim Armstrong has uploaded a new patch set (#2). ( 
http://gerrit.cloudera.org:8080/11464 )

Change subject: IMPALA-7420: different error code for internal cancellation
......................................................................

IMPALA-7420: different error code for internal cancellation

I started by converting scan and spill-to-disk because the
cancellation there is always meant to be internal to the scan and
spill-to-disk subsystems.

I updated all places that checked for TErrorCode::CANCELLED to treat
CANCELLED_INTERNALLY the same.

This is to aid triage and debugging of bugs like IMPALA-7418
where an "internal" cancellation leaks out into the query state.
This will make it easier to determine if an internal cancellation
somehow "leaked" out.

Testing:
Ran exhaustive tests.

Change-Id: If25d5b539d68981359e4d881cae7b08728ba2999
---
M be/src/benchmarks/status-benchmark.cc
M be/src/common/status.cc
M be/src/common/status.h
M be/src/exec/hdfs-orc-scanner.cc
M be/src/exec/hdfs-parquet-scanner.cc
M be/src/exec/hdfs-scan-node.cc
M be/src/exec/hdfs-scanner.cc
M be/src/exec/scanner-context.cc
M be/src/runtime/io/disk-io-mgr-test.cc
M be/src/runtime/io/request-context.cc
M be/src/runtime/io/request-context.h
M be/src/runtime/runtime-state.cc
M be/src/runtime/tmp-file-mgr-test.cc
M be/src/runtime/tmp-file-mgr.cc
M common/thrift/generate_error_codes.py
15 files changed, 71 insertions(+), 52 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/64/11464/2
--
To view, visit http://gerrit.cloudera.org:8080/11464
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: If25d5b539d68981359e4d881cae7b08728ba2999
Gerrit-Change-Number: 11464
Gerrit-PatchSet: 2
Gerrit-Owner: Tim Armstrong <[email protected]>

Reply via email to