This is an automated email from the ASF dual-hosted git repository. stoty pushed a commit to branch 5.1 in repository https://gitbox.apache.org/repos/asf/phoenix.git
The following commit(s) were added to refs/heads/5.1 by this push: new 05379de PHOENIX-6615 The Tephra transaction processor cannot be loaded anymore. 05379de is described below commit 05379dedb6eca435933c52a0cf5f6c02b0f7d3c6 Author: Lars Hofhansl <la...@apache.org> AuthorDate: Mon Jan 3 10:08:23 2022 +0100 PHOENIX-6615 The Tephra transaction processor cannot be loaded anymore. --- .../main/java/org/apache/phoenix/transaction/TransactionFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phoenix-core/src/main/java/org/apache/phoenix/transaction/TransactionFactory.java b/phoenix-core/src/main/java/org/apache/phoenix/transaction/TransactionFactory.java index c453c71..ec55920 100644 --- a/phoenix-core/src/main/java/org/apache/phoenix/transaction/TransactionFactory.java +++ b/phoenix-core/src/main/java/org/apache/phoenix/transaction/TransactionFactory.java @@ -30,7 +30,7 @@ public class TransactionFactory { try { tephraTransactionProvider = (PhoenixTransactionProvider) Class.forName("org.apache.phoenix.transaction.TephraTransactionProvider") - .newInstance(); + .getMethod("getInstance").invoke(null); } catch (Throwable e) { tephraTransactionProvider = NotAvailableTransactionProvider.getInstance(); }