Return-Path: X-Original-To: apmail-drill-issues-archive@minotaur.apache.org Delivered-To: apmail-drill-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 961A718C72 for ; Thu, 3 Dec 2015 16:15:11 +0000 (UTC) Received: (qmail 79078 invoked by uid 500); 3 Dec 2015 16:15:11 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 79023 invoked by uid 500); 3 Dec 2015 16:15:11 -0000 Mailing-List: contact issues-help@drill.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@drill.apache.org Delivered-To: mailing list issues@drill.apache.org Received: (qmail 78982 invoked by uid 99); 3 Dec 2015 16:15:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Dec 2015 16:15:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id ED3172C0453 for ; Thu, 3 Dec 2015 16:15:10 +0000 (UTC) Date: Thu, 3 Dec 2015 16:15:10 +0000 (UTC) From: "Zelaine Fong (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (DRILL-4154) Metadata Caching : Upgrading cache to v2 from v1 corrupts the cache in some scenarios MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DRILL-4154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Zelaine Fong updated DRILL-4154: -------------------------------- Assignee: Parth Chandra > Metadata Caching : Upgrading cache to v2 from v1 corrupts the cache in some scenarios > ------------------------------------------------------------------------------------- > > Key: DRILL-4154 > URL: https://issues.apache.org/jira/browse/DRILL-4154 > Project: Apache Drill > Issue Type: Bug > Reporter: Rahul Challapalli > Assignee: Parth Chandra > Priority: Critical > Attachments: broken-cache.txt, fewtypes_varcharpartition.tar.tgz, old-cache.txt > > > git.commit.id.abbrev=46c47a2 > I copied the data along with the cache file onto maprfs. Now I ran the upgrade tool (https://github.com/parthchandra/drill-upgrade). Now I ran the metadata_caching suite from the functional tests (concurrency 10) without the datagen phase. I see 3 test failures and when I looked at the cache file it seems to be containing wrong information for the varchar column. > Sample from the cache : > {code} > { > "name" : [ "varchar_col" ] > }, { > "name" : [ "float_col" ], > "mxValue" : 68797.22, > "nulls" : 0 > } > {code} > Now I followed the same steps and instead of running the suites I executed the "REFRESH TABLE METADATA" command or any query on that folder, the cache file seems to be created properly > I attached the data and cache files required. Let me know if you need anything -- This message was sent by Atlassian JIRA (v6.3.4#6332)