Pranav Yogi Lodha created IMPALA-14959:
------------------------------------------
Summary: PlannerTest.testResourceRequirementsHbase fails with
Assertion Error
Key: IMPALA-14959
URL: https://issues.apache.org/jira/browse/IMPALA-14959
Project: IMPALA
Issue Type: Bug
Reporter: Pranav Yogi Lodha
h3. Error Message
Section PARALLELPLANS of query at
functional-planner/queries/PlannerTest/resource-requirements-hbase.test:77:
select * from functional_hbase.alltypessmall Actual does not match expected
result: Max Per-Host Resource Reservation: Memory=4.00MB Threads=3
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Per-Host Resource
Estimates: Memory=10MB Codegen disabled by planner Analyzed query: SELECT *
FROM functional_hbase.alltypessmall F01:PLAN FRAGMENT [UNPARTITIONED] hosts=1
instances=1 | Per-Instance Resources: mem-estimate=4.05MB
mem-reservation=4.00MB thread-reservation=1 PLAN-ROOT SINK | output exprs:
functional_hbase.alltypessmall.id, functional_hbase.alltypessmall.bigint_col,
functional_hbase.alltypessmall.bool_col,
functional_hbase.alltypessmall.date_string_col,
functional_hbase.alltypessmall.double_col,
functional_hbase.alltypessmall.float_col,
functional_hbase.alltypessmall.int_col, functional_hbase.alltypessmall.month,
functional_hbase.alltypessmall.smallint_col,
functional_hbase.alltypessmall.string_col,
functional_hbase.alltypessmall.timestamp_col,
functional_hbase.alltypessmall.tinyint_col, functional_hbase.alltypessmall.year
| mem-estimate=4.00MB mem-reservation=4.00MB spill-buffer=2.00MB
thread-reservation=0 | 01:EXCHANGE [UNPARTITIONED] | mem-estimate=48.31KB
mem-reservation=0B thread-reservation=0 | tuple-ids=0 row-size=89B
cardinality=100 | in pipelines: 00(GETNEXT) | F00:PLAN FRAGMENT [RANDOM]
hosts=3 instances=5 Per-Instance Resources: mem-estimate=376.00KB
mem-reservation=0B thread-reservation=1 00:SCAN HBASE
[functional_hbase.alltypessmall] stored statistics: table: rows=100 columns:
all mem-estimate=4.00KB mem-reservation=0B thread-reservation=0 tuple-ids=0
row-size=89B cardinality=100 in pipelines: 00(GETNEXT) Expected: Max Per-Host
Resource Reservation: Memory=4.00MB Threads=2 Per-Host Resource Estimates:
Memory=10MB Codegen disabled by planner Analyzed query: SELECT * FROM
functional_hbase.alltypessmall F01:PLAN FRAGMENT [UNPARTITIONED] hosts=1
instances=1 | Per-Instance Resources: mem-estimate=4.03MB
mem-reservation=4.00MB thread-reservation=1 PLAN-ROOT SINK | output exprs:
functional_hbase.alltypessmall.id, functional_hbase.alltypessmall.bigint_col,
functional_hbase.alltypessmall.bool_col,
functional_hbase.alltypessmall.date_string_col,
functional_hbase.alltypessmall.double_col,
functional_hbase.alltypessmall.float_col,
functional_hbase.alltypessmall.int_col, functional_hbase.alltypessmall.month,
functional_hbase.alltypessmall.smallint_col,
functional_hbase.alltypessmall.string_col,
functional_hbase.alltypessmall.timestamp_col,
functional_hbase.alltypessmall.tinyint_col, functional_hbase.alltypessmall.year
| mem-estimate=4.00MB mem-reservation=4.00MB spill-buffer=2.00MB
thread-reservation=0 | 01:EXCHANGE [UNPARTITIONED] | mem-estimate=30.14KB
mem-reservation=0B thread-reservation=0 | tuple-ids=0 row-size=89B
cardinality=100 | in pipelines: 00(GETNEXT) | F00:PLAN FRAGMENT [RANDOM]
hosts=3 instances=3 Per-Instance Resources: mem-estimate=376.00KB
mem-reservation=0B thread-reservation=1 00:SCAN HBASE
[functional_hbase.alltypessmall] stored statistics: table: rows=100 columns:
all mem-estimate=4.00KB mem-reservation=0B thread-reservation=0 tuple-ids=0
row-size=89B cardinality=100 in pipelines: 00(GETNEXT)
h3. Stacktrace
java.lang.AssertionError: Section PARALLELPLANS of query at
functional-planner/queries/PlannerTest/resource-requirements-hbase.test:77:
select * from functional_hbase.alltypessmall Actual does not match expected
result: Max Per-Host Resource Reservation: Memory=4.00MB Threads=3
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Per-Host Resource
Estimates: Memory=10MB Codegen disabled by planner Analyzed query: SELECT *
FROM functional_hbase.alltypessmall F01:PLAN FRAGMENT [UNPARTITIONED] hosts=1
instances=1 | Per-Instance Resources: mem-estimate=4.05MB
mem-reservation=4.00MB thread-reservation=1 PLAN-ROOT SINK | output exprs:
functional_hbase.alltypessmall.id, functional_hbase.alltypessmall.bigint_col,
functional_hbase.alltypessmall.bool_col,
functional_hbase.alltypessmall.date_string_col,
functional_hbase.alltypessmall.double_col,
functional_hbase.alltypessmall.float_col,
functional_hbase.alltypessmall.int_col, functional_hbase.alltypessmall.month,
functional_hbase.alltypessmall.smallint_col,
functional_hbase.alltypessmall.string_col,
functional_hbase.alltypessmall.timestamp_col,
functional_hbase.alltypessmall.tinyint_col, functional_hbase.alltypessmall.year
| mem-estimate=4.00MB mem-reservation=4.00MB spill-buffer=2.00MB
thread-reservation=0 | 01:EXCHANGE [UNPARTITIONED] | mem-estimate=48.31KB
mem-reservation=0B thread-reservation=0 | tuple-ids=0 row-size=89B
cardinality=100 | in pipelines: 00(GETNEXT) | F00:PLAN FRAGMENT [RANDOM]
hosts=3 instances=5 Per-Instance Resources: mem-estimate=376.00KB
mem-reservation=0B thread-reservation=1 00:SCAN HBASE
[functional_hbase.alltypessmall] stored statistics: table: rows=100 columns:
all mem-estimate=4.00KB mem-reservation=0B thread-reservation=0 tuple-ids=0
row-size=89B cardinality=100 in pipelines: 00(GETNEXT) Expected: Max Per-Host
Resource Reservation: Memory=4.00MB Threads=2 Per-Host Resource Estimates:
Memory=10MB Codegen disabled by planner Analyzed query: SELECT * FROM
functional_hbase.alltypessmall F01:PLAN FRAGMENT [UNPARTITIONED] hosts=1
instances=1 | Per-Instance Resources: mem-estimate=4.03MB
mem-reservation=4.00MB thread-reservation=1 PLAN-ROOT SINK | output exprs:
functional_hbase.alltypessmall.id, functional_hbase.alltypessmall.bigint_col,
functional_hbase.alltypessmall.bool_col,
functional_hbase.alltypessmall.date_string_col,
functional_hbase.alltypessmall.double_col,
functional_hbase.alltypessmall.float_col,
functional_hbase.alltypessmall.int_col, functional_hbase.alltypessmall.month,
functional_hbase.alltypessmall.smallint_col,
functional_hbase.alltypessmall.string_col,
functional_hbase.alltypessmall.timestamp_col,
functional_hbase.alltypessmall.tinyint_col, functional_hbase.alltypessmall.year
| mem-estimate=4.00MB mem-reservation=4.00MB spill-buffer=2.00MB
thread-reservation=0 | 01:EXCHANGE [UNPARTITIONED] | mem-estimate=30.14KB
mem-reservation=0B thread-reservation=0 | tuple-ids=0 row-size=89B
cardinality=100 | in pipelines: 00(GETNEXT) | F00:PLAN FRAGMENT [RANDOM]
hosts=3 instances=3 Per-Instance Resources: mem-estimate=376.00KB
mem-reservation=0B thread-reservation=1 00:SCAN HBASE
[functional_hbase.alltypessmall] stored statistics: table: rows=100 columns:
all mem-estimate=4.00KB mem-reservation=0B thread-reservation=0 tuple-ids=0
row-size=89B cardinality=100 in pipelines: 00(GETNEXT) at
org.junit.Assert.fail(Assert.java:88) at
org.apache.impala.planner.PlannerTestBase.runPlannerTestFile(PlannerTestBase.java:1011)
at
org.apache.impala.planner.PlannerTestBase.runPlannerTestFile(PlannerTestBase.java:932)
at
org.apache.impala.planner.PlannerTest.runResourceRequirementsTest(PlannerTest.java:961)
at
org.apache.impala.planner.PlannerTest.testResourceRequirementsHbase(PlannerTest.java:999)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method) at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:569) at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at
org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at
org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at
org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at
org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
at
org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240)
at
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
at
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at
org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162) at
org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507) at
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]