[ https://issues.apache.org/jira/browse/PHOENIX-6653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Istvan Toth updated PHOENIX-6653: --------------------------------- Description: Our current upgrade tests operate by downloading older Phoenix versions, and using those to create the "before" state for upgrade. This limits the upgrade tests to versions that support overlapping HBase versions, which means that there are no upgrade tests for 5.1 for example. We could instead store HBase snapshots to states (system + test tables) created by older Phoenix versions, use bulk loading to load them, and run the upgrade tests on that state. As HBase snapshots are generally portable between versions, this would enable testing of a wide variatey of scenarios that are untestable now. (i.e. 4.7 to 5.1, anything to 5.1, 4.16 to 5.1) was: Our current upgrade tests operate by downloading older Phoenix versions, and using those to create the "before" state for upgrade. This limits the upgrade tests to versions that support overlapping HBase versions, which means that there are no upgrade tests for 5.1 for example. We could instead store HBase snapshots to states (system + test tables) created by older Phoenix versions, and use bulk loading to load them, and run the upgrade tests on that state. As HBase snapshots are generally portable between versions, this would enable testing of a wide variatey of scenarios that are untestable now. (i.e. 4.7 to 5.1, anything to 5.1, 4.16 to 5.1) > Add upgrade tests based on HBase snapshots > ------------------------------------------ > > Key: PHOENIX-6653 > URL: https://issues.apache.org/jira/browse/PHOENIX-6653 > Project: Phoenix > Issue Type: Test > Components: core > Reporter: Istvan Toth > Priority: Major > > Our current upgrade tests operate by downloading older Phoenix versions, and > using those to create the "before" state for upgrade. > This limits the upgrade tests to versions that support overlapping HBase > versions, which means that there are no upgrade tests for 5.1 for example. > We could instead store HBase snapshots to states (system + test tables) > created by older Phoenix versions, use bulk loading to load them, and run the > upgrade tests on that state. > As HBase snapshots are generally portable between versions, this would enable > testing of a wide variatey of scenarios that are untestable now. (i.e. 4.7 to > 5.1, anything to 5.1, 4.16 to 5.1) -- This message was sent by Atlassian Jira (v8.20.1#820001)