Files
impala/testdata/workloads/functional-query/queries/DataErrorsTest/hdfs-sequence-scan-errors.test
Juan Yu 41509ce3c1 IMPALA-2477: Parquet metadata randomly 'appears stale'
Stream::ReadBytes() could fail by other reasons than
'stale metadata'. Adding Errorcode Check to make sure
Impala return proper error message.

It also fixes IMPALA-2488 metadata.test_stale_metadata
fails on non-hdfs filesystem.

Change-Id: I9a25df3fb49f721bf68d1b07f42a96ce170abbaa
Reviewed-on: http://gerrit.cloudera.org:8080/1166
Reviewed-by: Juan Yu <jyu@cloudera.com>
Tested-by: Internal Jenkins
2015-10-07 14:47:41 -07:00

17 lines
520 B
Plaintext

====
---- QUERY
select count(*) from functional_seq_snap.bad_seq_snap
---- ERRORS
Bad synchronization marker
Expected: '6e 91 6 ec be 78 a0 ac 72 10 7e 41 b4 da 93 3c '
Actual: '6e 91 6 78 78 78 a0 ac 72 10 7e 41 b4 da 93 3c '
Problem parsing file: hdfs://regex:.$
Decompressor: invalid compressed length. Data is likely corrupt. (1 of 3 similar)
Tried to read 896782 bytes but could only read 896777 bytes. This may indicate data file corruption. (file: hdfs://regex:.$
---- RESULTS
9434
---- TYPES
bigint
====