RussellSpitzer opened a new issue, #13097:
URL: https://github.com/apache/iceberg/issues/13097
### Feature Request / Improvement
Currently a lot of our tests use
```java
this.httpServer = new Server(0); // Bind all available interfaces at a
random port
```
Which will inevitable call for the client uri
```java
httpServer.getURI().toString(),
```
Down the chain this means we essentially are use InetAddress.getLocalHost()
to get the URI.
For some developers who are working in more locked down firewall
environments this means we attempt to communicate with the embedded services on
a network accessible IP which is not allowed.
While we can kind of work around this by adding a loopback alias to our
hostname this isn't exactly a great long term solution.
```bash
/etc/hosts
127.0.0.1 your_hostname
```
I think it probably makes sense to change all instances of test server
creation to use loopback instead of localhost as their bind address to default
clients to only speak on localhost. We could also make the test bind host
settable as an ENV var or as grade build property.
### Query engine
None
### Willingness to contribute
- [ ] I can contribute this improvement/feature independently
- [ ] I would be willing to contribute this improvement/feature with
guidance from the Iceberg community
- [x] I cannot contribute this improvement/feature at this time
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]