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

James Taylor updated PHOENIX-3181:
----------------------------------
    Attachment: PHOENIX-3181_v3.patch

Take a look at this patch, [~rajeshbabu]. You can apply and run it against 
master. I've removed the @BeforeClass method and the setting of DROP_META_DATA 
of true, since we generate unique tables for every test so this should not be 
necessary.

If I add an @Ignore tag for the split and merge tests (as in this patch), then 
the LocalIndexIT passes consistently with the rest of the tests. But if I don't 
ignore them, HBase gets into some kind of bad state and never goes down (at 
least for 45mins). I'll attach the server log and maybe you can spot something. 
The logs are a mix of all the tests, but you'll see at the tail of the logs how 
HBase is stuck, though.

FYI, the test time goes down from about 40mins to less than 14mins with this 
approach, so the time savings is significant.

> Run test methods in parallel to reduce test suite run time
> ----------------------------------------------------------
>
>                 Key: PHOENIX-3181
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-3181
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: James Taylor
>            Assignee: prakul agarwal
>         Attachments: PHOENIX-3181_4.x-HBase-1.1_WIP.patch, 
> PHOENIX-3181_v1.patch, PHOENIX-3181_v2.patch, PHOENIX-3181_v3.patch, 
> parallelize_4.x-Hbase1.1_wip.patch
>
>
> With PHOENIX-3036, the tests within a test class can be executed in parallel 
> since the table names won't conflict. This should greatly reduce the time 
> taken to run all of our tests.



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

Reply via email to