Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 28973200BC1 for ; Wed, 2 Nov 2016 00:37:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 271E1160B07; Tue, 1 Nov 2016 23:37:00 +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 77687160AF7 for ; Wed, 2 Nov 2016 00:36:59 +0100 (CET) Received: (qmail 84835 invoked by uid 500); 1 Nov 2016 23:36:58 -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 84816 invoked by uid 99); 1 Nov 2016 23:36:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Nov 2016 23:36:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 71E292C2A66 for ; Tue, 1 Nov 2016 23:36:58 +0000 (UTC) Date: Tue, 1 Nov 2016 23:36:58 +0000 (UTC) From: "Rahul Challapalli (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (DRILL-4988) IllegalStateException: next() returned NONE without first returning OK_NEW_SCHEMA MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 01 Nov 2016 23:37:00 -0000 [ https://issues.apache.org/jira/browse/DRILL-4988?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rahul Challapalli updated DRILL-4988: ------------------------------------- Attachment: fewtypes.tgz 2016-11-01 16:27:26,675 [27e6db25-76f3-62eb-424e-d27b2b60c79e:frag:1:0] INFO o.a.d.e.w.fragment.FragmentExecutor - 27e6db25-76f3-62eb-424e-d27b2b60c79e:1:0: State change requested FAILED --> FINISHED 2016-11-01 16:27:26,676 [27e6db25-76f3-62eb-424e-d27b2b60c79e:frag:1:0] ERROR o.a.d.e.w.fragment.FragmentExecutor - SYSTEM ERROR: IllegalStateException: next() returned NONE without first returning OK_NEW_SCHEMA [#16496, UnorderedReceiverBatch] Fragment 1:0 [Error Id: 75ab86a9-1d08-488e-9dfe-231f0f278688 on qa-node191.qa.lab:31010] org.apache.drill.common.exceptions.UserException: SYSTEM ERROR: IllegalStateException: next() returned NONE without first returning OK_NEW_SCHEMA [#16496, UnorderedReceiverBatch] Fragment 1:0 [Error Id: 75ab86a9-1d08-488e-9dfe-231f0f278688 on qa-node191.qa.lab:31010] at org.apache.drill.common.exceptions.UserException$Builder.build(UserException.java:543) ~[drill-common-1.9.0-SNAPSHOT.jar:1.9.0-SNAPSHOT] at org.apache.drill.exec.work.fragment.FragmentExecutor.sendFinalState(FragmentExecutor.java:293) [drill-java-exec-1.9.0-SNAPSHOT.jar:1.9.0-SNAPSHOT] at org.apache.drill.exec.work.fragment.FragmentExecutor.cleanup(FragmentExecutor.java:160) [drill-java-exec-1.9.0-SNAPSHOT.jar:1.9.0-SNAPSHOT] at org.apache.drill.exec.work.fragment.FragmentExecutor.run(FragmentExecutor.java:262) [drill-java-exec-1.9.0-SNAPSHOT.jar:1.9.0-SNAPSHOT] at org.apache.drill.common.SelfCleaningRunnable.run(SelfCleaningRunnable.java:38) [drill-common-1.9.0-SNAPSHOT.jar:1.9.0-SNAPSHOT] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_111] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_111] at java.lang.Thread.run(Thread.java:745) [na:1.7.0_111] Caused by: java.lang.IllegalStateException: next() returned NONE without first returning OK_NEW_SCHEMA [#16496, UnorderedReceiverBatch] at org.apache.drill.exec.physical.impl.validate.IteratorValidatorBatchIterator.next(IteratorValidatorBatchIterator.java:243) ~[drill-java-exec-1.9.0-SNAPSHOT.jar:1.9.0-SNAPSHOT] at org.apache.drill.exec.physical.impl.BaseRootExec.next(BaseRootExec.java:104) ~[drill-java-exec-1.9.0-SNAPSHOT.jar:1.9.0-SNAPSHOT] at org.apache.drill.exec.physical.impl.partitionsender.PartitionSenderRootExec.innerNext(PartitionSenderRootExec.java:144) ~[drill-java-exec-1.9.0-SNAPSHOT.jar:1.9.0-SNAPSHOT] at org.apache.drill.exec.physical.impl.BaseRootExec.next(BaseRootExec.java:94) ~[drill-java-exec-1.9.0-SNAPSHOT.jar:1.9.0-SNAPSHOT] at org.apache.drill.exec.work.fragment.FragmentExecutor$1.run(FragmentExecutor.java:232) ~[drill-java-exec-1.9.0-SNAPSHOT.jar:1.9.0-SNAPSHOT] at org.apache.drill.exec.work.fragment.FragmentExecutor$1.run(FragmentExecutor.java:226) ~[drill-java-exec-1.9.0-SNAPSHOT.jar:1.9.0-SNAPSHOT] at java.security.AccessController.doPrivileged(Native Method) ~[na:1.7.0_111] at javax.security.auth.Subject.doAs(Subject.java:415) ~[na:1.7.0_111] at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1595) ~[hadoop-common-2.7.0-mapr-1607.jar:na] at org.apache.drill.exec.work.fragment.FragmentExecutor.run(FragmentExecutor.java:226) [drill-java-exec-1.9.0-SNAPSHOT.jar:1.9.0-SNAPSHOT] ... 4 common frames omitted > IllegalStateException: next() returned NONE without first returning OK_NEW_SCHEMA > --------------------------------------------------------------------------------- > > Key: DRILL-4988 > URL: https://issues.apache.org/jira/browse/DRILL-4988 > Project: Apache Drill > Issue Type: Bug > Reporter: Rahul Challapalli > Attachments: fewtypes.tgz > > > git.commit.id.abbrev=4ee1d4c > The below query fails > {code} > select a.int_col, b.date_col from dfs.`/drill/testdata/parquet_date/metadata_cache/mixed/fewtypes_null_large` a inner join ( select * from dfs.`/drill/testdata/parquet_date/metadata_cache/mixed/fewtypes_null_large` where dir0 = '1.2' and date_col > '1996-03-07' ) b on a.date_col = cast(date_add(b.date_col, 5) as date) where a.int_col = 7 and a.dir0='1.9' group by a.int_col, b.date_col; > Error: SYSTEM ERROR: IllegalStateException: next() returned NONE without first returning OK_NEW_SCHEMA [#16496, UnorderedReceiverBatch] > Fragment 1:0 > [Error Id: 75ab86a9-1d08-488e-9dfe-231f0f278688 on qa-node191.qa.lab:31010] (state=,code=0) > {code} > DataSet : This data set is generated for testing DRILL-4203. The dataset contains multiple subfolders and each subfolder has a metadata cache generated from a different version of drill. > I attached the error from the logs and the required dataset. -- This message was sent by Atlassian JIRA (v6.3.4#6332)