mirror of
https://github.com/apache/impala.git
synced 2026-01-02 21:00:35 -05:00
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
17 lines
520 B
Plaintext
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
|
|
====
|