You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Vitalii Diravka (JIRA)" <ji...@apache.org> on 2017/08/09 15:30:01 UTC
[jira] [Assigned] (DRILL-3829) Metadata Caching : Drill should
ignore a corrupted cache file
[ https://issues.apache.org/jira/browse/DRILL-3829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vitalii Diravka reassigned DRILL-3829:
--------------------------------------
Assignee: Vitalii Diravka
> 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: Future
>
>
> 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)