[
https://issues.apache.org/jira/browse/DRILL-3829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vitalii Diravka resolved DRILL-3829.
------------------------------------
Resolution: Fixed
Fix Version/s: (was: Future)
1.12.0
Fixed in context of
[DRILL-5660|https://issues.apache.org/jira/browse/DRILL-5660]
> Metadata Caching : Drill should ignore a corrupted cache file
> -------------------------------------------------------------
>
> Key: DRILL-3829
> URL: https://issues.apache.org/jira/browse/DRILL-3829
> Project: Apache Drill
> Issue Type: Bug
> Components: Metadata
> Reporter: Rahul Challapalli
> Assignee: Vitalii Diravka
> Fix For: 1.12.0
>
>
> git.commit.id.abbrev=3c89b30
> Drill should validate the cache file structure and ignore it if it detects
> any corruption to its contents.
> I placed an empty cache file in the directory and executed a count(*) query
> on top of the directory. Below is what I got
> {code}
> select count(*) from dfs.`/drill/testdata/metadata_caching/lineitem`;
> Error: SYSTEM ERROR: JsonMappingException: No content to map due to
> end-of-input
> at [Source: com.mapr.fs.MapRFsDataInputStream@293240cd; line: 1, column: 1]
> [Error Id: 88f77d37-aff3-4adc-bb0e-6c13b49e7776 on qa-node190.qa.lab:31010]
> (state=,code=0)
> {code}
> At the very least we should inform that the cache file has been corrupted.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)