drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chun Chang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-3829) Metadata Caching : Drill should ignore a corrupted cache file
Date Wed, 23 Sep 2015 19:13:04 GMT

    [ https://issues.apache.org/jira/browse/DRILL-3829?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14905056#comment-14905056
] 

Chun Chang commented on DRILL-3829:
-----------------------------------

This should be a dup of DRILL-3827.

> 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: Mehant Baid
>
> 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.3.4#6332)

Mime
View raw message