phoenix-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Hofhansl (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (PHOENIX-5342) ViewIndexIT and ViewIT fail after PHOENIX-5156
Date Thu, 13 Jun 2019 18:53:00 GMT

    [ https://issues.apache.org/jira/browse/PHOENIX-5342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16863379#comment-16863379
] 

Lars Hofhansl edited comment on PHOENIX-5342 at 6/13/19 6:52 PM:
-----------------------------------------------------------------

Indeed, when I revert that one change the test passes.
But I assume this change is needed for something else (probably to be able to find the source
of truth when an index needs to be repaired...)?

And if so, I'd expect that the repair also would not work in a scenario like this - it would
pick the wrong table as source of truth.


was (Author: lhofhansl):
Indeed, when I revert that one change the test passes.
But I assume this change is needed for something else (probably to be able to find the source
of truth when an index needs to be repaired...)?


> ViewIndexIT and ViewIT fail after PHOENIX-5156
> ----------------------------------------------
>
>                 Key: PHOENIX-5342
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-5342
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.15.0, 5.1.0
>            Reporter: Lars Hofhansl
>            Assignee: Kadir OZDEMIR
>            Priority: Blocker
>             Fix For: 4.15.0, 5.1.0
>
>
> [~kozdemir], here's another one of the needs-own-cluster tests that fail after PHOENIX-5156.
> Verified locally by reverted PHOENIX-5156 and trying again.
> I see similar errors with ViewIT in jenkins, but I cannot verify that locally - that
test for some reason hangs on my box.
> {code}
> [INFO] Running org.apache.phoenix.end2end.index.ViewIndexIT
> [ERROR] Tests run: 16, Failures: 0, Errors: 2, Skipped: 2, Time elapsed: 224.853 s <<<
FAILURE! - in org.apache.phoenix.end2end.index.ViewIndexIT
> [ERROR] testUpdateOnTenantViewWithGlobalView[ViewIndexIT_isNamespaceMapped=true](org.apache.phoenix.end2end.index.ViewIndexIT)
 Time elapsed: 6.71 s  <<< ERROR!
> org.apache.phoenix.schema.TableNotFoundException: ERROR 1012 (42M03): Table undefined.
tableName=N000027.N000027.TSV_N000031#N000026.I_N000030
>         at org.apache.phoenix.end2end.index.ViewIndexIT.assertRowCount(ViewIndexIT.java:344)
>         at org.apache.phoenix.end2end.index.ViewIndexIT.testUpdateOnTenantViewWithGlobalView(ViewIndexIT.java:417)
> [ERROR] testUpdateOnTenantViewWithGlobalView[ViewIndexIT_isNamespaceMapped=false](org.apache.phoenix.end2end.index.ViewIndexIT)
 Time elapsed: 5.887 s  <<< ERROR!
> org.apache.phoenix.schema.TableNotFoundException: ERROR 1012 (42M03): Table undefined.
tableName=N000061.N000061.TSV_N000065#N000060.I_N000064
>         at org.apache.phoenix.end2end.index.ViewIndexIT.assertRowCount(ViewIndexIT.java:344)
>         at org.apache.phoenix.end2end.index.ViewIndexIT.testUpdateOnTenantViewWithGlobalView(ViewIndexIT.java:417)
> {code}
> {code}
> [ERROR] Tests run: 165, Failures: 0, Errors: 9, Skipped: 0, Time elapsed: 1,474.506 s
<<< FAILURE! - in org.apache.phoenix.end2end.ViewIT
> [ERROR] testViewUsesTableLocalIndex[ViewIT_transactionProvider=TEPHRA, columnEncoded=false](org.apache.phoenix.end2end.ViewIT)
 Time elapsed: 14.355 s  <<< ERROR!
> org.apache.phoenix.schema.TableNotFoundException: ERROR 1012 (42M03): Table undefined.
tableName=SCHEMA2.SCHEMA2.N000035#SCHEMA1.I_N000033
> 	at org.apache.phoenix.end2end.ViewIT.testViewUsesTableIndex(ViewIT.java:698)
> 	at org.apache.phoenix.end2end.ViewIT.testViewUsesTableLocalIndex(ViewIT.java:670)
> [ERROR] testViewUsesTableGlobalIndex[ViewIT_transactionProvider=TEPHRA, columnEncoded=false](org.apache.phoenix.end2end.ViewIT)
 Time elapsed: 7.759 s  <<< ERROR!
> org.apache.phoenix.schema.TableNotFoundException: ERROR 1012 (42M03): Table undefined.
tableName=SCHEMA2.SCHEMA2.N000041#SCHEMA1.I_N000039
> 	at org.apache.phoenix.end2end.ViewIT.testViewUsesTableIndex(ViewIT.java:698)
> 	at org.apache.phoenix.end2end.ViewIT.testViewUsesTableGlobalIndex(ViewIT.java:662)
> [ERROR] testViewUsesTableLocalIndex[ViewIT_transactionProvider=TEPHRA, columnEncoded=true](org.apache.phoenix.end2end.ViewIT)
 Time elapsed: 17.933 s  <<< ERROR!
> org.apache.phoenix.schema.TableNotFoundException: ERROR 1012 (42M03): Table undefined.
tableName=SCHEMA2.SCHEMA2.N000133#SCHEMA1.I_N000131
> 	at org.apache.phoenix.end2end.ViewIT.testViewUsesTableIndex(ViewIT.java:698)
> 	at org.apache.phoenix.end2end.ViewIT.testViewUsesTableLocalIndex(ViewIT.java:670)
> [ERROR] testViewUsesTableGlobalIndex[ViewIT_transactionProvider=TEPHRA, columnEncoded=true](org.apache.phoenix.end2end.ViewIT)
 Time elapsed: 12.306 s  <<< ERROR!
> org.apache.phoenix.schema.TableNotFoundException: ERROR 1012 (42M03): Table undefined.
tableName=SCHEMA2.SCHEMA2.N000139#SCHEMA1.I_N000137
> 	at org.apache.phoenix.end2end.ViewIT.testViewUsesTableIndex(ViewIT.java:698)
> 	at org.apache.phoenix.end2end.ViewIT.testViewUsesTableGlobalIndex(ViewIT.java:662)
> [ERROR] testViewUsesTableGlobalIndex[ViewIT_transactionProvider=OMID, columnEncoded=false](org.apache.phoenix.end2end.ViewIT)
 Time elapsed: 16.209 s  <<< ERROR!
> org.apache.phoenix.schema.TableNotFoundException: ERROR 1012 (42M03): Table undefined.
tableName=SCHEMA2.SCHEMA2.N000233#SCHEMA1.I_N000231
> 	at org.apache.phoenix.end2end.ViewIT.testViewUsesTableIndex(ViewIT.java:698)
> 	at org.apache.phoenix.end2end.ViewIT.testViewUsesTableGlobalIndex(ViewIT.java:662)
> [ERROR] testViewUsesTableLocalIndex[ViewIT_transactionProvider=null, columnEncoded=false](org.apache.phoenix.end2end.ViewIT)
 Time elapsed: 20.798 s  <<< ERROR!
> org.apache.phoenix.schema.TableNotFoundException: ERROR 1012 (42M03): Table undefined.
tableName=SCHEMA2.SCHEMA2.N000324#SCHEMA1.I_N000322
> 	at org.apache.phoenix.end2end.ViewIT.testViewUsesTableIndex(ViewIT.java:698)
> 	at org.apache.phoenix.end2end.ViewIT.testViewUsesTableLocalIndex(ViewIT.java:670)
> [ERROR] testViewUsesTableGlobalIndex[ViewIT_transactionProvider=null, columnEncoded=false](org.apache.phoenix.end2end.ViewIT)
 Time elapsed: 14.395 s  <<< ERROR!
> org.apache.phoenix.schema.TableNotFoundException: ERROR 1012 (42M03): Table undefined.
tableName=SCHEMA2.SCHEMA2.N000330#SCHEMA1.I_N000328
> 	at org.apache.phoenix.end2end.ViewIT.testViewUsesTableIndex(ViewIT.java:698)
> 	at org.apache.phoenix.end2end.ViewIT.testViewUsesTableGlobalIndex(ViewIT.java:662)
> [ERROR] testViewUsesTableLocalIndex[ViewIT_transactionProvider=null, columnEncoded=true](org.apache.phoenix.end2end.ViewIT)
 Time elapsed: 19.686 s  <<< ERROR!
> org.apache.phoenix.schema.TableNotFoundException: ERROR 1012 (42M03): Table undefined.
tableName=SCHEMA2.SCHEMA2.N000422#SCHEMA1.I_N000420
> 	at org.apache.phoenix.end2end.ViewIT.testViewUsesTableIndex(ViewIT.java:698)
> 	at org.apache.phoenix.end2end.ViewIT.testViewUsesTableLocalIndex(ViewIT.java:670)
> [ERROR] testViewUsesTableGlobalIndex[ViewIT_transactionProvider=null, columnEncoded=true](org.apache.phoenix.end2end.ViewIT)
 Time elapsed: 13.929 s  <<< ERROR!
> org.apache.phoenix.schema.TableNotFoundException: ERROR 1012 (42M03): Table undefined.
tableName=SCHEMA2.SCHEMA2.N000428#SCHEMA1.I_N000426
> 	at org.apache.phoenix.end2end.ViewIT.testViewUsesTableIndex(ViewIT.java:698)
> 	at org.apache.phoenix.end2end.ViewIT.testViewUsesTableGlobalIndex(ViewIT.java:662)
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message