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 B5E1D184FA for ; Sat, 10 Oct 2015 04:06:10 +0000 (UTC) Received: (qmail 3244 invoked by uid 500); 10 Oct 2015 04:06:05 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 3194 invoked by uid 500); 10 Oct 2015 04:06:05 -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 3181 invoked by uid 99); 10 Oct 2015 04:06:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Oct 2015 04:06:05 +0000 Date: Sat, 10 Oct 2015 04:06:05 +0000 (UTC) From: "Aman Sinha (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (DRILL-3917) IllegalArgumentException when running query after creating metadata cache MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Aman Sinha created DRILL-3917: --------------------------------- Summary: IllegalArgumentException when running query after creating metadata cache Key: DRILL-3917 URL: https://issues.apache.org/jira/browse/DRILL-3917 Project: Apache Drill Issue Type: Bug Components: Metadata Reporter: Aman Sinha I am getting an error with the below query: Without metadata cache: {code} 0: jdbc:drill:zk=local> select count(*) from orders where dir0 = 1995; +---------+ | EXPR$0 | +---------+ | 40 | +---------+ 1 row selected (0.205 seconds) {code} Create metadata cache and run query: {code} 0: jdbc:drill:zk=local> refresh table metadata `orders`; +-------+--------------------------------------------------+ | ok | summary | +-------+--------------------------------------------------+ | true | Successfully updated metadata for table orders. | +-------+--------------------------------------------------+ 1 row selected (1.112 seconds) 0: jdbc:drill:zk=local> select count(*) from orders where dir0 = 1995; Error: SYSTEM ERROR: IllegalArgumentException: MinorFragmentId 0 has no read entries assigned [Error Id: c1cd004c-8850-47fb-8cd8-6da85dd4fc50 on 172.16.0.160:31010] (org.apache.drill.exec.work.foreman.ForemanException) Unexpected exception during fragment initialization: MinorFragmentId 0 has no read entries assigned org.apache.drill.exec.work.foreman.Foreman.run():255 java.util.concurrent.ThreadPoolExecutor.runWorker():1145 java.util.concurrent.ThreadPoolExecutor$Worker.run():615 java.lang.Thread.run():744 Caused By (java.lang.IllegalArgumentException) MinorFragmentId 0 has no read entries assigned com.google.common.base.Preconditions.checkArgument():92 org.apache.drill.exec.store.parquet.ParquetGroupScan.getSpecificScan():679 org.apache.drill.exec.store.parquet.ParquetGroupScan.getSpecificScan():103 org.apache.drill.exec.planner.fragment.Materializer.visitGroupScan():68 org.apache.drill.exec.planner.fragment.Materializer.visitGroupScan():35 org.apache.drill.exec.physical.base.AbstractGroupScan.accept():60 org.apache.drill.exec.planner.fragment.Materializer.visitOp():102 org.apache.drill.exec.planner.fragment.Materializer.visitOp():35 org.apache.drill.exec.physical.base.AbstractPhysicalVisitor.visitProject():77 org.apache.drill.exec.physical.config.Project.accept():51 org.apache.drill.exec.planner.fragment.Materializer.visitOp():102 org.apache.drill.exec.planner.fragment.Materializer.visitOp():35 org.apache.drill.exec.physical.base.AbstractPhysicalVisitor.visitStreamingAggregate():97 org.apache.drill.exec.physical.config.StreamingAggregate.accept():58 org.apache.drill.exec.planner.fragment.Materializer.visitOp():102 org.apache.drill.exec.planner.fragment.Materializer.visitOp():35 org.apache.drill.exec.physical.base.AbstractPhysicalVisitor.visitProject():77 org.apache.drill.exec.physical.config.Project.accept():51 org.apache.drill.exec.planner.fragment.Materializer.visitStore():82 org.apache.drill.exec.planner.fragment.Materializer.visitStore():35 org.apache.drill.exec.physical.base.AbstractPhysicalVisitor.visitScreen():195 org.apache.drill.exec.physical.config.Screen.accept():97 org.apache.drill.exec.planner.fragment.SimpleParallelizer.generateWorkUnit():355 org.apache.drill.exec.planner.fragment.SimpleParallelizer.getFragments():134 {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)