Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
Impala 2.3.0
-
None
Description
Errors are logged in some cases, but the code attempts to use the scanner even if preparation failed, which will result in a crash:
In HdfsScanNode::ScannerThread:
Status scanner_status; HdfsScanner* scanner = CreateAndPrepareScanner(partition, context, &scanner_status); if (VLOG_QUERY_IS_ON && (!scanner_status.ok() || scanner == NULL)) { stringstream ss; ss << "Error preparing text scanner for scan range " << scan_range->file() << "(" << scan_range->offset() << ":" << scan_range->len() << ")."; ss << endl << runtime_state_->ErrorLog(); VLOG_QUERY << ss.str(); } status = scanner->ProcessSplit();
Attachments
Issue Links
- is a child of
-
IMPALA-2755 Clean up memory management in backend
- Resolved