[ https://issues.apache.org/jira/browse/CASSANDRA-1697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis resolved CASSANDRA-1697. --------------------------------------- Resolution: Won't Fix Yeah, sorry -- this is why we recommend using IP addresses instead of hostnames for seeds. > 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 > Affects Versions: 0.6.5 > Reporter: Edward Capriolo > Priority: Trivial > > 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.