You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Rahul Challapalli (JIRA)" <ji...@apache.org> on 2016/11/01 23:36:58 UTC

[jira] [Updated] (DRILL-4988) IllegalStateException: next() returned NONE without first returning OK_NEW_SCHEMA

     [ 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)