[
https://issues.apache.org/jira/browse/PHOENIX-5327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16879797#comment-16879797
]
Viraj Jasani commented on PHOENIX-5327:
---------------------------------------
Sure [~lhofhansl] Thank you
Changed included in the patch involves:
* Execution of preDdl and postDdl queries only once for a given scenario per
scenario.xml file. e.g. we can use multiple WriteWorkload threads to execute
multiple runs of given scenarios. Although queries provided in queryset can be
run multiple times with different batch size to load rows for given table, ddl
statements should be run only once before loading the rows for give table. As
of now, we are running all the queries(including all ddl) in multiple runs and
hence, facing the issue of duplicate TABLE/INDEX.
* prod_test_unsalted_scenario.xml to include missing tags
* Some checkstyle changes and updating mockito-all and hamcrest dependencies
I believe this failure might have been present for quite some time but only
with recent changes to include callable instead of runnable might have brought
failures of PherfMainIT up front:
[https://github.com/apache/phoenix/commit/13fd7776d7629c222af63d9a4f38a426fc5ed163]
[~tdsilva]
> PherfMainIT fails with duplicate TABLE/INDEX.
> ---------------------------------------------
>
> Key: PHOENIX-5327
> URL: https://issues.apache.org/jira/browse/PHOENIX-5327
> Project: Phoenix
> Issue Type: Test
> Affects Versions: 4.15.0, 5.1.0
> Reporter: Lars Hofhansl
> Assignee: Viraj Jasani
> Priority: Major
> Fix For: 4.15.1, 5.1.1
>
> Attachments: PHOENIX-5327.patch
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> {code:java}
> INFO] Running org.apache.phoenix.pherf.PherfMainIT
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:
> 54.221 s <<< FAILURE! - in org.apache.phoenix.pherf.PherfMainIT
> [ERROR] testPherfMain(org.apache.phoenix.pherf.PherfMainIT) Time elapsed:
> 10.455 s <<< ERROR!
> java.util.concurrent.ExecutionException:
> org.apache.phoenix.schema.TableAlreadyExistsException: ERROR 1013 (42M04):
> Table already exists. tableName=PHERF.IDX_DIVISION
> at org.apache.phoenix.pherf.PherfMainIT.testPherfMain(PherfMainIT.java:42)
> Caused by: org.apache.phoenix.schema.TableAlreadyExistsException: ERROR 1013
> (42M04): Table already exists. tableName=PHERF.IDX_DIVISION
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)