cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Dusbabek (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CASSANDRA-1697) Startup can fail if DNS lookup fails for seed node
Date Tue, 02 Nov 2010 17:08:28 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-1697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12927493#action_12927493
] 

Gary Dusbabek commented on CASSANDRA-1697:
------------------------------------------

+1

> Startup can fail if DNS lookup fails for seed node
> --------------------------------------------------
>
>                 Key: CASSANDRA-1697
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1697
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Edward Capriolo
>            Assignee: Jonathan Ellis
>            Priority: Trivial
>             Fix For: 0.6.7, 0.7.0
>
>         Attachments: 1697.txt
>
>
> This might fall into one of those WONT FIX scenarios, since not many things are going
to work well with flaky DNS. This has only happened to me once, but I someone might be interested
in the stack trace. In this case cdbsd01.hadoop.pvt is one of my seed nodes.
> {noformat}
>  INFO [main] 2010-11-02 11:52:00,141 CLibrary.java (line 43) JNA not found. Native methods
will be disabled.
>  INFO [main] 2010-11-02 11:52:00,421 DatabaseDescriptor.java (line 246) DiskAccessMode
ismmap, indexAccessMode is mmap
> ERROR [main] 2010-11-02 11:52:25,591 CassandraDaemon.java (line 232) Exception encountered
during startup.
> java.lang.ExceptionInInitializerError
> 	at org.apache.cassandra.thrift.CassandraDaemon.setup(CassandraDaemon.java:72)
> 	at org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:214)
> Caused by: java.lang.RuntimeException: java.net.UnknownHostException: cdbsd01.hadoop.pvt
> 	at org.apache.cassandra.config.DatabaseDescriptor.<clinit>(DatabaseDescriptor.java:551)
> 	... 2 more
> Caused by: java.net.UnknownHostException: cdbsd01.hadoop.pvt
> 	at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method)
> 	at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:850)
> 	at java.net.InetAddress.getAddressFromNameService(InetAddress.java:1201)
> 	at java.net.InetAddress.getAllByName0(InetAddress.java:1154)
> 	at java.net.InetAddress.getAllByName(InetAddress.java:1084)
> 	at java.net.InetAddress.getAllByName(InetAddress.java:1020)
> 	at java.net.InetAddress.getByName(InetAddress.java:970)
> 	at org.apache.cassandra.config.DatabaseDescriptor.<clinit>(DatabaseDescriptor.java:540)
> 	... 2 more
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message