Zoltan Borok-Nagy has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/16591


Change subject: IMPALA-10055: Fix DCHECK hit on corrupt ORC file
......................................................................

IMPALA-10055: Fix DCHECK hit on corrupt ORC file

Our ORC scanner could hit a DCHECK on corrupt ORC files. In
test_scanners_fuzz we randomly modify ORC files, so the this test
might hit a DCHECK occasionally.

I converted the DCHECK to a parse error. This way the fuzz test
won't crash the Impala daemon.

Testing:
Unfortunately I don't have an ORC file on which we hit the DCHECK.
So I manually changed the code to always raise this error and
executed the fuzz test to see if it still succeeds.

Change-Id: I18d9f56c3c37afd1a4898ee36f8cc2ddb5049972
---
M be/src/exec/orc-column-readers.cc
1 file changed, 12 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/91/16591/1
--
To view, visit http://gerrit.cloudera.org:8080/16591
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I18d9f56c3c37afd1a4898ee36f8cc2ddb5049972
Gerrit-Change-Number: 16591
Gerrit-PatchSet: 1
Gerrit-Owner: Zoltan Borok-Nagy <[email protected]>

Reply via email to