Created on 01-10-2019 08:21 AM - edited 09-16-2022 07:03 AM
As i am running the quarry , randomly i am getting an warning , /00000_0_1_copy_1 has an invalid version number: this could be due to stale metadata. try running "refresh _xml" Could not execute command: compute stats.
i am very much curious to know about the root cause and it something which is blocking my work all the time
Created 01-15-2019 10:58 PM
Created 07-26-2019 07:34 AM
Hi Arun
Which CDH version you are currently using?
We are experiencing the same issue and using CDH6.2.. I believe this is a bug but let me know which version you are using so that we can report the bug if needed.
Amjad
@Arun wrote:As i am running the quarry , randomly i am getting an warning , /00000_0_1_copy_1 has an invalid version number: this could be due to stale metadata. try running "refresh _xml" Could not execute command: compute stats.
i am very much curious to know about the root cause and it something which is blocking my work all the time
Created 07-26-2019 10:26 AM
Like @EricL said, this would be caused by some process updating files in the table in the background without a refresh in Impala. E.g. if you have a job that writes files directly into the table and can either write incomplete files or has Impala see the files before they are completely written (preferably you write the files in a temporary directory then move them into the table directory). Some usage patterns for hive might cause issues, e.g. INSERT OVERWRITE.
There was a related issue in Impala that could occur if you did an "INSERT OVERWRITE" from hive without a refresh from Impala: https://issues.apache.org/jira/browse/IMPALA-8561. Generally that workflow (insert overwrite without refresh) is problematic, but the symptoms were made more confusing by IMPALA-8561.