Skip to main content
iamfromsky
Gold ⭐️
Nov 6, 2019 9:09 AM UTC
Solved

impala has invalid file metadata

CDH6.2.1

imapla 3.2.0-CDH6.2.1

 

the below errors happened every day,  i also find some similar issue on issue.apache.org.  it seems a bug .

 

3AE39A18-F5AC-47FF-BA83-E4B5B358831B.png

 

here is some issue list :

https://issues.apache.org/jira/browse/IMPALA-8561

https://github.com/cloudera/Impala/commit/9e4bf4c99f48a29e1c1d46d49c5f8452b777e2db

 

it seems this issue also happened on Impala3.3, not juse impala 3.2, but it's fixed in 3.3.

 

so, Cloudera support, how to fix this issue on imapla-3.2( CDH6.2.1), this issue is so critical cause many users encounter this issue and ask me what's happening, and i just can tell them this is a bug and i can't do anything.

 

may i ask another question ? if Impala3.2 can't resolve this issue ,may i update imapla 3,2 to impala 3.3 , i mean i don't update Cloudera Manager  and CDH other components , just update impala .

 

i hope Cloudera Supporter can give me advises , thank you very much .

Tim Armstrong
Platinum ⭐️
Nov 6, 2019 6:08 PM UTC

I updated the JIRA to include workarounds, just FYI. 

7 replies

Tim Armstrong
Platinum ⭐️
Platinum ⭐️
Nov 6, 2019 6:03 PM UTC

This generally happens when overwriting files in-place where Impala is still trying to read a cached version of the file. E.g. insert overwrite in Hive. So you can often avoid the problem if you can avoid doing that.

 

Otherwise doing a REFRESH of the table should resolve it.

Translate
iamfromsky
Gold ⭐️
Nov 7, 2019 8:29 AM UTC
i have found your workaround in JIRA, and will try. as you have mentioned REFRESH should resolve this issue, but actually it can't resolve, even i use "INVALIDATE METADATA" . that's why i open this session. anyway, thanks your solution.
Translate
Tim Armstrong
Platinum ⭐️
Platinum ⭐️
Nov 6, 2019 6:08 PM UTC

I updated the JIRA to include workarounds, just FYI. 

Translate
Tim Armstrong
Platinum ⭐️
Platinum ⭐️
Nov 6, 2019 6:09 PM UTC

Also if you have a support contract with Cloudera, this is something they can help you with in more detail through that channel, we've successfully resolved this for customers before.

Translate