From c4848336e710a53ef5c3bededef85095d2e60cf0 Mon Sep 17 00:00:00 2001 From: Andrew Purtell Date: Tue, 24 Nov 2026 11:23:37 -0800 Subject: [PATCH] PHOENIX-8109 System table snapshot upgrade tests should turn off the HBase rolling upgrade chore The tests restore SYSTEM table snapshots that have no store file tracker setting. The HBase rolling upgrade chore adds the setting and changes the table descriptors during the Phoenix upgrade. The Phoenix descriptor poll then never sees the descriptor it waits for, and it times out. Turn off the chore. Co-Authored-By: Claude Opus 5.5 --- .../apache/phoenix/end2end/LoadSystemTableSnapshotBase.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/phoenix-core/src/it/java/org/apache/phoenix/end2end/LoadSystemTableSnapshotBase.java b/phoenix-core/src/it/java/org/apache/phoenix/end2end/LoadSystemTableSnapshotBase.java index 8f5a541586f..15c97c3cbba 100644 --- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/LoadSystemTableSnapshotBase.java +++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/LoadSystemTableSnapshotBase.java @@ -118,6 +118,10 @@ public static synchronized void setupCluster(boolean createBlockUpgradeMutex, St serverProps.put(QueryServices.EXTRA_JDBC_ARGUMENTS_ATTRIB, QueryServicesOptions.DEFAULT_EXTRA_JDBC_ARGUMENTS); serverProps.put(QueryServices.IS_NAMESPACE_MAPPING_ENABLED, nameSpaceMapping); + // The restored snapshots have no store file tracker setting. The HBase rolling upgrade chore + // adds it and changes the SYSTEM table descriptors during the Phoenix upgrade. A period of 0 + // disables the chore, so the descriptors stay as restored. + serverProps.put("hbase.master.rolling.upgrade.chore.period.secs", "0"); Map clientProps = Maps.newHashMapWithExpectedSize(2); clientProps.put(QueryServices.IS_NAMESPACE_MAPPING_ENABLED, nameSpaceMapping);