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

Laszlo Gaal resolved IMPALA-9353.
---------------------------------
    Resolution: Duplicate

> org.apache.impala.planner.PlannerTest.testHbaseNoKeyEstimate seems flaky 
> after IMPALA-9349
> ------------------------------------------------------------------------------------------
>
>                 Key: IMPALA-9353
>                 URL: https://issues.apache.org/jira/browse/IMPALA-9353
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Frontend
>            Reporter: Fang-Yu Rao
>            Assignee: Tim Armstrong
>            Priority: Blocker
>              Labels: broken-build
>
> The FE test org.apache.impala.planner.PlannerTest.testHbaseNoKeyEstimate 
> seems flaky after IMPALA-9349. We may need to revise the expected results in 
> https://github.com/apache/impala/blob/master/testdata/workloads/functional-planner/queries/PlannerTest/hbase-no-key-est.test.
> In what follows the corresponding error message is provided.
> {code:java}
> Error Message
> section SCANRANGELOCATIONS of query:
> select * from functional_hbase.stringids
> where id > '5'
> and tinyint_col = 5
> Actual does not match expected result:
>   HBASE KEYRANGE 5\0:7
>   HBASE KEYRANGE 7:9
> ^^^^^^^^^^^^^^^^^^^^
>   HBASE KEYRANGE 9:<unbounded>
> NODE 0:
> Expected:
>   HBASE KEYRANGE 5\0:7
>   HBASE KEYRANGE 7:<unbounded>
> NODE 0:
> section SCANRANGELOCATIONS of query:
> select * from functional_hbase.stringids
> where id >= '5'
> and tinyint_col = 5
> Actual does not match expected result:
>   HBASE KEYRANGE 5:7
>   HBASE KEYRANGE 7:9
> ^^^^^^^^^^^^^^^^^^^^
>   HBASE KEYRANGE 9:<unbounded>
> NODE 0:
> Expected:
>   HBASE KEYRANGE 5:7
>   HBASE KEYRANGE 7:<unbounded>
> NODE 0:
> section SCANRANGELOCATIONS of query:
> select * from functional_hbase.stringids
> where id > '4' and id <= '5'
> and tinyint_col = 5
> Actual does not match expected result:
>   HBASE KEYRANGE 4\0:5
> ^^^^^^^^^^^^^^^^^^^^^^
>   HBASE KEYRANGE 5:5\0
> NODE 0:
> Expected:
>   HBASE KEYRANGE 4\0:5\0
> NODE 0:
> section SCANRANGELOCATIONS of query:
> select * from functional_hbase.stringids
> where id >= '4' and id <= '5'
> and tinyint_col = 5
> Actual does not match expected result:
>   HBASE KEYRANGE 4:5
> ^^^^^^^^^^^^^^^^^^^^
>   HBASE KEYRANGE 5:5\0
> NODE 0:
> Expected:
>   HBASE KEYRANGE 4:5\0
> NODE 0:
> section SCANRANGELOCATIONS of query:
> select * from functional_hbase.stringids
> where string_col = '4' and tinyint_col = 5 and id >= '4' and id <= '5'
> Actual does not match expected result:
>   HBASE KEYRANGE 4:5
> ^^^^^^^^^^^^^^^^^^^^
>   HBASE KEYRANGE 5:5\0
> NODE 0:
> Expected:
>   HBASE KEYRANGE 4:5\0
> NODE 0:
> section SCANRANGELOCATIONS of query:
> select * from functional_hbase.stringids
> where string_col = '4' and tinyint_col = 5
>   and id >= concat('', '4') and id <= concat('5', '')
> Actual does not match expected result:
>   HBASE KEYRANGE 4:5
> ^^^^^^^^^^^^^^^^^^^^
>   HBASE KEYRANGE 5:5\0
> NODE 0:
> Expected:
>   HBASE KEYRANGE 4:5\0
> NODE 0:
> {code}
> The stacktrace is given in the following.
> {code:java}
> Stacktrace
> java.lang.AssertionError: 
> section SCANRANGELOCATIONS of query:
> select * from functional_hbase.stringids
> where id > '5'
> and tinyint_col = 5
> Actual does not match expected result:
>   HBASE KEYRANGE 5\0:7
>   HBASE KEYRANGE 7:9
> ^^^^^^^^^^^^^^^^^^^^
>   HBASE KEYRANGE 9:<unbounded>
> NODE 0:
> Expected:
>   HBASE KEYRANGE 5\0:7
>   HBASE KEYRANGE 7:<unbounded>
> NODE 0:
> section SCANRANGELOCATIONS of query:
> select * from functional_hbase.stringids
> where id >= '5'
> and tinyint_col = 5
> Actual does not match expected result:
>   HBASE KEYRANGE 5:7
>   HBASE KEYRANGE 7:9
> ^^^^^^^^^^^^^^^^^^^^
>   HBASE KEYRANGE 9:<unbounded>
> NODE 0:
> Expected:
>   HBASE KEYRANGE 5:7
>   HBASE KEYRANGE 7:<unbounded>
> NODE 0:
> section SCANRANGELOCATIONS of query:
> select * from functional_hbase.stringids
> where id > '4' and id <= '5'
> and tinyint_col = 5
> Actual does not match expected result:
>   HBASE KEYRANGE 4\0:5
> ^^^^^^^^^^^^^^^^^^^^^^
>   HBASE KEYRANGE 5:5\0
> NODE 0:
> Expected:
>   HBASE KEYRANGE 4\0:5\0
> NODE 0:
> section SCANRANGELOCATIONS of query:
> select * from functional_hbase.stringids
> where id >= '4' and id <= '5'
> and tinyint_col = 5
> Actual does not match expected result:
>   HBASE KEYRANGE 4:5
> ^^^^^^^^^^^^^^^^^^^^
>   HBASE KEYRANGE 5:5\0
> NODE 0:
> Expected:
>   HBASE KEYRANGE 4:5\0
> NODE 0:
> section SCANRANGELOCATIONS of query:
> select * from functional_hbase.stringids
> where string_col = '4' and tinyint_col = 5 and id >= '4' and id <= '5'
> Actual does not match expected result:
>   HBASE KEYRANGE 4:5
> ^^^^^^^^^^^^^^^^^^^^
>   HBASE KEYRANGE 5:5\0
> NODE 0:
> Expected:
>   HBASE KEYRANGE 4:5\0
> NODE 0:
> section SCANRANGELOCATIONS of query:
> select * from functional_hbase.stringids
> where string_col = '4' and tinyint_col = 5
>   and id >= concat('', '4') and id <= concat('5', '')
> Actual does not match expected result:
>   HBASE KEYRANGE 4:5
> ^^^^^^^^^^^^^^^^^^^^
>   HBASE KEYRANGE 5:5\0
> NODE 0:
> Expected:
>   HBASE KEYRANGE 4:5\0
> NODE 0:
>       at org.junit.Assert.fail(Assert.java:88)
>       at 
> org.apache.impala.planner.PlannerTestBase.runPlannerTestFile(PlannerTestBase.java:924)
>       at 
> org.apache.impala.planner.PlannerTestBase.runPlannerTestFile(PlannerTestBase.java:839)
>       at 
> org.apache.impala.planner.PlannerTest.testHbaseNoKeyEstimate(PlannerTest.java:211)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>       at java.lang.reflect.Method.invoke(Method.java:498)
>       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:365)
>       at 
> org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:272)
>       at 
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:236)
>       at 
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
>       at 
> org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386)
>       at 
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323)
>       at 
> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143)
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to