I recall we had some weird logic in there somewhere that looked for cases where 
the address was "0.0.0.0" and then tried to figure out the host for the 
localhost itself. Passing in the hostname directly, when we have it makes sense 
to me; maybe we can avoid that dubious logic. As to why it might have happened 
on Mac only, Linux has a "myhostname" name service for /etc/nsswitch.conf that 
facilitates reverse lookup of the local hostname. Maybe that might help explain 
why it didn't fail on Linux, but I haven't done a deep dive.

The change looks correct to me... passing in the hostname explicitly. If this 
results in weird behavior with bind address, I'm sure we'll catch and fix that 
before release. I'm not worried.

[ Full content available at: https://github.com/apache/accumulo/pull/649 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to