From issues-return-49039-archive-asf-public=cust-asf.ponee.io@drill.apache.org Mon Jan 22 01:44:19 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id 8A633180652 for ; Mon, 22 Jan 2018 01:44:19 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 7A510160C37; Mon, 22 Jan 2018 00:44:19 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 98D03160C36 for ; Mon, 22 Jan 2018 01:44:18 +0100 (CET) Received: (qmail 17543 invoked by uid 500); 22 Jan 2018 00:44:17 -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 17534 invoked by uid 99); 22 Jan 2018 00:44:17 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Jan 2018 00:44:17 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 0A0F11A09F5 for ; Mon, 22 Jan 2018 00:44:17 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.911 X-Spam-Level: X-Spam-Status: No, score=-99.911 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id AEFlakYrRhDW for ; Mon, 22 Jan 2018 00:44:15 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 98B0A5F5B4 for ; Mon, 22 Jan 2018 00:44:14 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 25837E002F for ; Mon, 22 Jan 2018 00:44:12 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 0016321206 for ; Mon, 22 Jan 2018 00:44:00 +0000 (UTC) Date: Mon, 22 Jan 2018 00:44:00 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DRILL-6100) Intermittent failure while reading Parquet file footer during planning phase MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DRILL-6100?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1633= 3758#comment-16333758 ]=20 ASF GitHub Bot commented on DRILL-6100: --------------------------------------- GitHub user sohami opened a pull request: https://github.com/apache/drill/pull/1097 DRILL-6100: Intermittent failure while reading Parquet file footer du= =E2=80=A6 =E2=80=A6ring planning phase You can merge this pull request into a Git repository by running: $ git pull https://github.com/sohami/drill DRILL-6100 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/drill/pull/1097.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1097 =20 ---- commit ef25c4179d3883a680b43638b16b606447b1c65f Author: Sorabh Hamirwasia Date: 2018-01-22T00:30:25Z DRILL-6100: Intermittent failure while reading Parquet file footer duri= ng planning phase ---- > Intermittent failure while reading Parquet file footer during planning ph= ase > -------------------------------------------------------------------------= --- > > Key: DRILL-6100 > URL: https://issues.apache.org/jira/browse/DRILL-6100 > Project: Apache Drill > Issue Type: Bug > Components: Execution - Flow > Affects Versions: 1.10.0 > Reporter: Sorabh Hamirwasia > Assignee: Sorabh Hamirwasia > Priority: Major > Fix For: 1.13.0 > > > When running queries from multiple users for a view which then refers to = a parquet data file, intermittent failure is seen during planning phase. Th= e failure happens when the Parquet data file which view owner has access to= is read to create metadata cache. Query user doesn't have direct access to= the Parquet data file but has read access to the view which in turn is acc= essing the actual data.=C2=A0When Parquet Metadata file is created it's cre= ated as ProcessUser based on DRILL-4143=C2=A0but footer is not read under t= he process user context. While running concurrent queries from several clie= nt sporadic failures was observed since at times footer was being read as Q= uery User which doesn't have access to the file. > =C2=A0 > {code:java} > 2018-01-12 13:19:57,267 > Caused by: org.apache.drill.common.exceptions.DrillRuntimeException: Fail= ure creating scan. > at org.apache.drill.exec.planner.logical.DrillScanRel.(DrillScanRe= l.java:92) ~[drill-java-exec-1.10.0.jar:1.10.0] > at org.apache.drill.exec.planner.logical.DrillScanRel.(DrillScanRe= l.java:70) ~[drill-java-exec-1.10.0.jar:1.10.0] > at org.apache.drill.exec.planner.logical.DrillScanRel.(DrillScanRe= l.java:63) ~[drill-java-exec-1.10.0.jar:1.10.0] > at org.apache.drill.exec.planner.logical.DrillScanRule.onMatch(DrillScan= Rule.java:37) ~[drill-java-exec-1.10.0.jar:1.10.0] > at org.apache.calcite.plan.volcano.VolcanoRuleCall.onMatch(VolcanoRuleCa= ll.java:228) ~[calcite-core-1.4.0-drill-r21.jar:1.4.0-drill-r21] > ... 15 common frames omitted > Caused by: org.apache.hadoop.security.AccessControlException: Open faile= d for file: /env/test/data/final > at com.mapr.fs.MapRClientImpl.open(MapRClientImpl.java:265) ~[maprfs-5.2= .2-mapr.jar:5.2.2-mapr] > at com.mapr.fs.MapRFileSystem.open(MapRFileSystem.java:938) ~[maprfs-5.2= .2-mapr.jar:5.2.2-mapr] > at org.apache.hadoop.fs.FileSystem.open(FileSystem.java:803) ~[hadoop-co= mmon-2.7.0-mapr-1607.jar:na] > at org.apache.parquet.hadoop.ParquetFileReader.readFooter(ParquetFileRea= der.java:425) ~[parquet-hadoop-1.8.1-drill-r0.jar:1.8.1-drill-r0] > at org.apache.parquet.hadoop.ParquetFileReader.readFooter(ParquetFileRea= der.java:412) ~[parquet-hadoop-1.8.1-drill-r0.jar:1.8.1-drill-r0] > at org.apache.drill.exec.store.parquet.Metadata.getParquetFileMetadata_v= 3(Metadata.java:395) ~[drill-java-exec-1.10.0.jar:1.10.0] > at org.apache.drill.exec.store.parquet.Metadata.access$000(Metadata.java= :85) ~[drill-java-exec-1.10.0.jar:1.10.0] > at org.apache.drill.exec.store.parquet.Metadata$MetadataGatherer.runInne= r(Metadata.java:323) ~[drill-java-exec-1.10.0.jar:1.10.0] > at org.apache.drill.exec.store.parquet.Metadata$MetadataGatherer.runInne= r(Metadata.java:311) ~[drill-java-exec-1.10.0.jar:1.10.0] > at org.apache.drill.exec.store.TimedRunnable.run(TimedRunnable.java:56) = ~[drill-java-exec-1.10.0.jar:1.10.0] > at org.apache.drill.exec.store.TimedRunnable.run(TimedRunnable.java:122)= ~[drill-java-exec-1.10.0.jar:1.10.0] > at org.apache.drill.exec.store.parquet.Metadata.getParquetFileMetadata_v= 3(Metadata.java:285) ~[drill-java-exec-1.10.0.jar:1.10.0] > at org.apache.drill.exec.store.parquet.Metadata.getParquetTableMetadata(= Metadata.java:264) ~[drill-java-exec-1.10.0.jar:1.10.0] > at org.apache.drill.exec.store.parquet.Metadata.getParquetTableMetadata(= Metadata.java:249) ~[drill-java-exec-1.10.0.jar:1.10.0] > at org.apache.drill.exec.store.parquet.Metadata.getParquetTableMetadata(= Metadata.java:121) ~[drill-java-exec-1.10.0.jar:1.10.0] > at org.apache.drill.exec.store.parquet.ParquetGroupScan.init(ParquetGrou= pScan.java:733) ~[drill-java-exec-1.10.0.jar:1.10.0] > at org.apache.drill.exec.store.parquet.ParquetGroupScan.(ParquetGr= oupScan.java:230) ~[drill-java-exec-1.10.0.jar:1.10.0] > at org.apache.drill.exec.store.parquet.ParquetGroupScan.(ParquetGr= oupScan.java:190) ~[drill-java-exec-1.10.0.jar:1.10.0] > at org.apache.drill.exec.store.parquet.ParquetFormatPlugin.getGroupScan(= ParquetFormatPlugin.java:169) ~[drill-java-exec-1.10.0.jar:1.10.0] > at org.apache.drill.exec.store.parquet.ParquetFormatPlugin.getGroupScan(= ParquetFormatPlugin.java:67) ~[drill-java-exec-1.10.0.jar:1.10.0] > at org.apache.drill.exec.store.dfs.FileSystemPlugin.getPhysicalScan(File= SystemPlugin.java:146) ~[drill-java-exec-1.10.0.jar:1.10.0] > at org.apache.drill.exec.store.AbstractStoragePlugin.getPhysicalScan(Abs= tractStoragePlugin.java:100) ~[drill-java-exec-1.10.0.jar:1.10.0] > at org.apache.drill.exec.planner.logical.DrillTable.getGroupScan(DrillTa= ble.java:85) ~[drill-java-exec-1.10.0.jar:1.10.0] > at org.apache.drill.exec.planner.logical.DrillScanRel.(DrillScanRe= l.java:90) ~[drill-java-exec-1.10.0.jar:1.10.0] > ... 19 common frames omitted > org.apache.drill.common.exceptions.UserException: SYSTEM ERROR: AccessCo= ntrolException: Open failed for file: /env/test/data/final/snapshot_period_= id=3D1234567/000000_0, error: Permission denied (13) > {code} > =C2=A0 -- This message was sent by Atlassian JIRA (v7.6.3#76005)