cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-2750) Slightly better Localhost lookup in GuidGenerator.java
Date Wed, 08 Jun 2011 18:23:00 GMT

    [ 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

Mime
View raw message