Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Implemented
-
1.0.1
-
None
-
None
Description
Currently there's an assumption that there must be an eth* or a configured en* interface in order to bind to a specific address.
Exception in thread "main" java.lang.IllegalArgumentException: No network 'en*'/'eth*' interfaces found at org.apache.omid.NetworkUtils.getDefaultNetworkInterface(NetworkUtils.java:52) at org.apache.omid.tso.TSOServerConfig.<init>(TSOServerConfig.java:88) at org.apache.omid.tso.TSOServerConfig.<init>(TSOServerConfig.java:56) at org.apache.omid.tso.TSOServer.main(TSOServer.java:147)
The first question is: Why don't we just allow to bind to ::?
Second, we can at least provide a default way to start when no en/eth interface is available.
Attachments
Attachments
Issue Links
- relates to
-
OMID-248 Transactional Phoenix tests fail on Java 17 in getDefaultNetworkInterface
- Closed
-
PHOENIX-5082 Observations about the Phoenix-Omid integration
- Open