drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Hsuan-Yi Chu (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DRILL-4150) AssertionError: no provider found (rel=rel#16:Subset#0.ENUMERABLE.ANY([]).[], m=interface org.apache.calcite.rel.metadata.BuiltInMetadata$Collation); a backstop provider is recommended
Date Tue, 02 Feb 2016 07:20:40 GMT

     [ https://issues.apache.org/jira/browse/DRILL-4150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sean Hsuan-Yi Chu resolved DRILL-4150.
--------------------------------------
    Resolution: Cannot Reproduce

> AssertionError: no provider found (rel=rel#16:Subset#0.ENUMERABLE.ANY([]).[], m=interface
org.apache.calcite.rel.metadata.BuiltInMetadata$Collation); a backstop provider is recommended
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DRILL-4150
>                 URL: https://issues.apache.org/jira/browse/DRILL-4150
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Execution - Relational Operators
>    Affects Versions: 1.4.0
>            Reporter: Khurram Faraaz
>            Assignee: Sean Hsuan-Yi Chu
>
> Test fails with AssertionError on Drill 1.4 with assertions enabled and JDK8, on 4 node
cluster. Test was executed as part of functional test run on 4 node cluster.
> Assertion seems to be coming from calcite.
> Failing test case : Functional/decimal/decimal101.q
> {code}
> query => select cast('0.00000001' as decimal(9,9)) / cast('-9999999999999999999999999999'
as decimal(28,0)) from data limit 1;
> {code}
> {noformat}
> git.commit.id=ff76078b61a54001da1de3dbd95d01004da4b791
> [root@centos-01 drill-output]# java -version
> openjdk version "1.8.0_65"
> {noformat}
> Stack trace from drillbit.log
> {noformat}
> 2015-12-01 03:31:50,248 [29a2eb5a-785d-4e55-6148-b4fd5a5cfc9c:foreman] ERROR o.a.drill.exec.work.foreman.Foreman
- SYSTEM ERROR: AssertionError: no provider found (rel=rel#16:Subset#0.ENUMERABLE.ANY([]).[],
m=interface org.apache.calcite.rel.metadata.BuiltInMetadata$Collation); a backstop provider
is recommended
> [Error Id: 116e2b9c-e247-44c2-9490-ee6fd22736cc on centos-02.qa.lab:31010]
> org.apache.drill.common.exceptions.UserException: SYSTEM ERROR: AssertionError: no provider
found (rel=rel#16:Subset#0.ENUMERABLE.ANY([]).[], m=interface org.apache.calcite.rel.metadata.BuiltInMetadata$Collation);
a backstop provider is recommended
> [Error Id: 116e2b9c-e247-44c2-9490-ee6fd22736cc on centos-02.qa.lab:31010]
>         at org.apache.drill.common.exceptions.UserException$Builder.build(UserException.java:534)
~[drill-common-1.4.0-SNAPSHOT.jar:1.4.0-SNAPSHOT]
>         at org.apache.drill.exec.work.foreman.Foreman$ForemanResult.close(Foreman.java:742)
[drill-java-exec-1.4.0-SNAPSHOT.jar:1.4.0-SNAPSHOT]
>         at org.apache.drill.exec.work.foreman.Foreman$StateSwitch.processEvent(Foreman.java:841)
[drill-java-exec-1.4.0-SNAPSHOT.jar:1.4.0-SNAPSHOT]
>         at org.apache.drill.exec.work.foreman.Foreman$StateSwitch.processEvent(Foreman.java:786)
[drill-java-exec-1.4.0-SNAPSHOT.jar:1.4.0-SNAPSHOT]
>         at org.apache.drill.common.EventProcessor.sendEvent(EventProcessor.java:73) [drill-common-1.4.0-SNAPSHOT.jar:1.4.0-SNAPSHOT]
>         at org.apache.drill.exec.work.foreman.Foreman$StateSwitch.moveToState(Foreman.java:788)
[drill-java-exec-1.4.0-SNAPSHOT.jar:1.4.0-SNAPSHOT]
>         at org.apache.drill.exec.work.foreman.Foreman.moveToState(Foreman.java:894) [drill-java-exec-1.4.0-SNAPSHOT.jar:1.4.0-SNAPSHOT]
>         at org.apache.drill.exec.work.foreman.Foreman.run(Foreman.java:255) [drill-java-exec-1.4.0-SNAPSHOT.jar:1.4.0-SNAPSHOT]
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[na:1.8.0_65]
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[na:1.8.0_65]
>         at java.lang.Thread.run(Thread.java:745) [na:1.8.0_65]
> Caused by: org.apache.drill.exec.work.foreman.ForemanException: Unexpected exception
during fragment initialization: Internal error: Error while applying rule ReduceExpressionsRule_Project,
args [rel#17:LogicalProject.NONE.ANY([]).[](input=rel#16:Subset#0.ENUMERABLE.ANY([]).[],EXPR$0=/(CAST('0.00000001'):DECIMAL(9,
9) NOT NULL, CAST('-9999999999999999999999999999'):DECIMAL(28, 0) NOT NULL))]
>         ... 4 common frames omitted
> Caused by: java.lang.AssertionError: Internal error: Error while applying rule ReduceExpressionsRule_Project,
args [rel#17:LogicalProject.NONE.ANY([]).[](input=rel#16:Subset#0.ENUMERABLE.ANY([]).[],EXPR$0=/(CAST('0.00000001'):DECIMAL(9,
9) NOT NULL, CAST('-9999999999999999999999999999'):DECIMAL(28, 0) NOT NULL))]
>         at org.apache.calcite.util.Util.newInternal(Util.java:792) ~[calcite-core-1.4.0-drill-r9.jar:1.4.0-drill-r9]
>         at org.apache.calcite.plan.volcano.VolcanoRuleCall.onMatch(VolcanoRuleCall.java:251)
~[calcite-core-1.4.0-drill-r9.jar:1.4.0-drill-r9]
>         at org.apache.calcite.plan.volcano.VolcanoPlanner.findBestExp(VolcanoPlanner.java:808)
~[calcite-core-1.4.0-drill-r9.jar:1.4.0-drill-r9]
>         at org.apache.calcite.tools.Programs$RuleSetProgram.run(Programs.java:303) ~[calcite-core-1.4.0-drill-r9.jar:1.4.0-drill-r9]
>         at org.apache.calcite.prepare.PlannerImpl.transform(PlannerImpl.java:313) ~[calcite-core-1.4.0-drill-r9.jar:1.4.0-drill-r9]
>         at org.apache.drill.exec.planner.sql.handlers.DefaultSqlHandler.doLogicalPlanning(DefaultSqlHandler.java:542)
~[drill-java-exec-1.4.0-SNAPSHOT.jar:1.4.0-SNAPSHOT]
>         at org.apache.drill.exec.planner.sql.handlers.DefaultSqlHandler.convertToDrel(DefaultSqlHandler.java:218)
~[drill-java-exec-1.4.0-SNAPSHOT.jar:1.4.0-SNAPSHOT]
>         at org.apache.drill.exec.planner.sql.handlers.DefaultSqlHandler.convertToDrel(DefaultSqlHandler.java:252)
~[drill-java-exec-1.4.0-SNAPSHOT.jar:1.4.0-SNAPSHOT]
>         at org.apache.drill.exec.planner.sql.handlers.DefaultSqlHandler.getPlan(DefaultSqlHandler.java:172)
~[drill-java-exec-1.4.0-SNAPSHOT.jar:1.4.0-SNAPSHOT]
>         at org.apache.drill.exec.planner.sql.DrillSqlWorker.getPlan(DrillSqlWorker.java:197)
~[drill-java-exec-1.4.0-SNAPSHOT.jar:1.4.0-SNAPSHOT]
>         at org.apache.drill.exec.work.foreman.Foreman.runSQL(Foreman.java:909) [drill-java-exec-1.4.0-SNAPSHOT.jar:1.4.0-SNAPSHOT]
>         at org.apache.drill.exec.work.foreman.Foreman.run(Foreman.java:244) [drill-java-exec-1.4.0-SNAPSHOT.jar:1.4.0-SNAPSHOT]
>         ... 3 common frames omitted
> Caused by: java.lang.AssertionError: no provider found (rel=rel#16:Subset#0.ENUMERABLE.ANY([]).[],
m=interface org.apache.calcite.rel.metadata.BuiltInMetadata$Collation); a backstop provider
is recommended
>         at org.apache.calcite.rel.AbstractRelNode.metadata(AbstractRelNode.java:273)
~[calcite-core-1.4.0-drill-r9.jar:1.4.0-drill-r9]
>         at org.apache.calcite.rel.metadata.RelMetadataQuery.collations(RelMetadataQuery.java:293)
~[calcite-core-1.4.0-drill-r9.jar:1.4.0-drill-r9]
>         at org.apache.calcite.rel.metadata.RelMdCollation.project(RelMdCollation.java:187)
~[calcite-core-1.4.0-drill-r9.jar:1.4.0-drill-r9]
>         at org.apache.calcite.rel.logical.LogicalProject$1.get(LogicalProject.java:120)
~[calcite-core-1.4.0-drill-r9.jar:1.4.0-drill-r9]
>         at org.apache.calcite.rel.logical.LogicalProject$1.get(LogicalProject.java:118)
~[calcite-core-1.4.0-drill-r9.jar:1.4.0-drill-r9]
>         at org.apache.calcite.plan.RelTraitSet.replaceIfs(RelTraitSet.java:238) ~[calcite-core-1.4.0-drill-r9.jar:1.4.0-drill-r9]
>         at org.apache.calcite.rel.logical.LogicalProject.create(LogicalProject.java:114)
~[calcite-core-1.4.0-drill-r9.jar:1.4.0-drill-r9]
>         at org.apache.calcite.rel.rules.ReduceExpressionsRule$1.onMatch(ReduceExpressionsRule.java:242)
~[calcite-core-1.4.0-drill-r9.jar:1.4.0-drill-r9]
>         at org.apache.calcite.plan.volcano.VolcanoRuleCall.onMatch(VolcanoRuleCall.java:228)
~[calcite-core-1.4.0-drill-r9.jar:1.4.0-drill-r9]
>         ... 13 common frames omitted
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message