Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.1.0
-
None
Description
When running the Phoenix test suite with JDK 17, we get errors like
[ERROR] org.apache.phoenix.end2end.TransactionalViewIT.testInvalidRowsWithStats[TransactionalViewIT_transactionProvider=OMID] Time elapsed: 0.001 s <<< ERROR! java.lang.IllegalArgumentException: No network 'en*'/'eth*' interfaces found at org.apache.omid.NetworkUtils.getDefaultNetworkInterface(NetworkUtils.java:68) at org.apache.omid.tso.TSOServerConfig.<init>(TSOServerConfig.java:88) at org.apache.omid.tso.TSOServerConfig.<init>(TSOServerConfig.java:56) at org.apache.phoenix.transaction.OmidTransactionService.startAndInjectOmidTransactionService(OmidTransactionService.java:62) at org.apache.phoenix.transaction.TransactionServiceManager.startTransactionService(TransactionServiceManager.java:33) at org.apache.phoenix.end2end.ConnectionQueryServicesTestImpl.initTransactionClient(ConnectionQueryServicesTestImpl.java:120) at org.apache.phoenix.transaction.OmidTransactionContext.<init>(OmidTransactionContext.java:60) at org.apache.phoenix.transaction.OmidTransactionProvider.getTransactionContext(OmidTransactionProvider.java:65) at org.apache.phoenix.execute.MutationState.startTransaction(MutationState.java:408) at org.apache.phoenix.util.TransactionUtil.getTableTimestamp(TransactionUtil.java:124) at org.apache.phoenix.schema.MetaDataClient.createTableInternal(MetaDataClient.java:2307) at org.apache.phoenix.schema.MetaDataClient.createTable(MetaDataClient.java:1023) at org.apache.phoenix.compile.CreateTableCompiler$CreateTableMutationPlan.execute(CreateTableCompiler.java:421) at org.apache.phoenix.jdbc.PhoenixStatement$2.call(PhoenixStatement.java:559) at org.apache.phoenix.jdbc.PhoenixStatement$2.call(PhoenixStatement.java:525) at org.apache.phoenix.call.CallRunner.run(CallRunner.java:53) at org.apache.phoenix.jdbc.PhoenixStatement.executeMutation(PhoenixStatement.java:524) at org.apache.phoenix.jdbc.PhoenixStatement.executeMutation(PhoenixStatement.java:512) at org.apache.phoenix.jdbc.PhoenixStatement.execute(PhoenixStatement.java:2206) at org.apache.phoenix.end2end.TransactionalViewIT.testInvalidRowsWithStats(TransactionalViewIT.java:108) ...
Attachments
Issue Links
- is depended upon by
-
PHOENIX-6748 Add support for Java 17
- Resolved
- is related to
-
OMID-123 Allow starting Omid on machines without en or eth interfaces.
- Resolved
- relates to
-
OMID-249 Improve default network address logic
- Closed
- links to