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

Istvan Toth commented on PHOENIX-7177:
--------------------------------------

IMO running all of the tests on a real cluster is not worth it.
When I started working on Phoenix I have also spent weeks on it, for virtually 
no payoff.

It may be useful for single tests, or when debugging performance problems, but 
I can count on zero hands when I used it to solve real problems in the last 
four years.

In order to get a decent coverage, you'd need to be able dynamically 
reconfigure HBase.
Neither the upstream tools, nor the test suite is prepared for that.

At @dayjob we have a separate test suite that is integrated with 
Ambari/Cloudera CM, and re-configures the test cluster as needed.
I guess as Ambari is open source, you MAY be able to do something similar with 
only upstream tools (with open source Ambari), but it'd be a huge job, for for 
dubious payoffs.


> some IT testcases depending on TaskRegionEnvironment can't run on distributed 
> HBaseCluster
> ------------------------------------------------------------------------------------------
>
>                 Key: PHOENIX-7177
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-7177
>             Project: Phoenix
>          Issue Type: Improvement
>            Reporter: Anchal Kejriwal
>            Assignee: Anchal Kejriwal
>            Priority: Major
>              Labels: test
>
> Reason: Because of initialisation of TaskRegionEnvironment in internal API 
> call which needs miniCluster to run testcases
> Example testcase: ReadIsolationLevelIT



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to