Qifan Chen has uploaded this change for review. ( http://gerrit.cloudera.org:8080/16672
Change subject: IMPALA-10267: Impala crashes in HdfsScanner::WriteTemplateTuples() with negative num_tuples ...................................................................... IMPALA-10267: Impala crashes in HdfsScanner::WriteTemplateTuples() with negative num_tuples This fix enhances method HdfsAvroScanner::ProcessRange() with a DCHECK() to help catch negative num_tuples. The DCHEK() specifically checks that num_records_in_block_ is always greater than record_pos_. Testing: 1. Unit testing. Change-Id: If88fd3aa4c96a69e37d060031f7432d27d069c62 --- M be/src/exec/hdfs-avro-scanner.cc 1 file changed, 1 insertion(+), 0 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/72/16672/2 -- To view, visit http://gerrit.cloudera.org:8080/16672 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: If88fd3aa4c96a69e37d060031f7432d27d069c62 Gerrit-Change-Number: 16672 Gerrit-PatchSet: 2 Gerrit-Owner: Qifan Chen <[email protected]> Gerrit-Reviewer: Joe McDonnell <[email protected]>
