Files
impala/common
Tim Armstrong 256853e347 IMPALA-2667: handle scanner prepare error
To test the code, add a new failpoint test to handle errors in scanner
preparation. The added test failed before this change. Also some minor
formatting cleanup in surrounding code.

As part of change, factored out part of ScannerThread to reduce
nesting of conditionals.

Also avoid storing scanners and scanner contexts in RuntimeState when
not necessary, so that they can be freed earlier.

Change-Id: I9d2fbc64ca54d65cfc53c4cacf818f6210963361
Reviewed-on: http://gerrit.cloudera.org:8080/1576
Reviewed-by: Dan Hecht <dhecht@cloudera.com>
Readability: Dan Hecht <dhecht@cloudera.com>
Tested-by: Internal Jenkins
2015-12-09 09:56:51 +00:00
..