Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

INSERT OVERWRITE operation is updating the metastore information of ACID table to latest base directory even incase of failures #108

Open
srinikvv opened this issue Apr 12, 2021 · 2 comments

Comments

@srinikvv
Copy link

When trying to perform an INSERT OVERWRITE operation, the hive metastore information of a table are updated to point the latest base directory even in case of an error while executing the operation. And as a result the target table is no longer queryable(from presto) or shows 0 records(from hive)

Error from presto while trying to query such tables:
SQL Error [16777232]: Query failed (#20210412_083757_04509_aczvq): Not enough history available for (990,205). Oldest available base: hdfs://abc.xyz.com:8020/warehouse/tablespace/managed/hive/sales_dh.db/opportunity_product_f/base_0000881

@srinikvv srinikvv changed the title INSERT OVERWRITE operation is updating the metastore information of the table to latest base directory even incase of failures INSERT OVERWRITE operation is updating the metastore information of ACID table to latest base directory even incase of failures Apr 12, 2021
@srinikvv
Copy link
Author

Hi Team, can you check the above issue and provide me some inputs to avoid this issue.
Appreciate any help on this!

@mridul-naithani
Copy link

Hi Team, Any update on the above issue? Appreciate any help on this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants