You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2011/06/08 20:23:00 UTC
[jira] [Commented] (CASSANDRA-2750) Slightly better Localhost
lookup in GuidGenerator.java
[ https://issues.apache.org/jira/browse/CASSANDRA-2750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13046121#comment-13046121 ]
Jonathan Ellis commented on CASSANDRA-2750:
-------------------------------------------
Weird -- what is the difference in semantics between those two?
Do you know what kind of configuration causes getLocalHost to throw UHE?
> Slightly better Localhost lookup in GuidGenerator.java
> ------------------------------------------------------
>
> Key: CASSANDRA-2750
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2750
> Project: Cassandra
> Issue Type: Improvement
> Components: Core
> Reporter: Davanum Srinivas
> Priority: Minor
>
> We have a box where "InetAddress.getLocalHost()" fails but "InetAddress.getByName(null)" succeeds, Can you please consider this patch that adds a bit of code to the existing catch to try the alternate lookup.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira