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-9375) setting timeouts to 1ms prevents startup
Date Wed, 13 May 2015 17:19:59 GMT

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

Jonathan Ellis commented on CASSANDRA-9375:
-------------------------------------------

Should we just set a bound on the lowest acceptable timeout?  100ms?  10?

> setting timeouts to 1ms prevents startup
> ----------------------------------------
>
>                 Key: CASSANDRA-9375
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9375
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Brandon Williams
>            Priority: Trivial
>             Fix For: 2.0.x
>
>
> Granted, this is a nonsensical setting, but the error message makes it tough to discern
what's wrong:
> {noformat}
> ERROR 17:13:28,726 Exception encountered during startup
> java.lang.ExceptionInInitializerError
>  at org.apache.cassandra.net.MessagingService.instance(MessagingService.java:310)
>  at org.apache.cassandra.service.StorageService.<init>(StorageService.java:233)
>  at org.apache.cassandra.service.StorageService.<clinit>(StorageService.java:141)
>  at org.apache.cassandra.locator.DynamicEndpointSnitch.<init>(DynamicEndpointSnitch.java:87)
>  at org.apache.cassandra.locator.DynamicEndpointSnitch.<init>(DynamicEndpointSnitch.java:63)
>  at org.apache.cassandra.config.DatabaseDescriptor.createEndpointSnitch(DatabaseDescriptor.java:518)
>  at org.apache.cassandra.config.DatabaseDescriptor.applyConfig(DatabaseDescriptor.java:350)
>  at org.apache.cassandra.config.DatabaseDescriptor.<clinit>(DatabaseDescriptor.java:112)
>  at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:213)
>  at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:567)
>  at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:656)
> Caused by: java.lang.IllegalArgumentException
>  at java.util.concurrent.ScheduledThreadPoolExecutor.scheduleWithFixedDelay(ScheduledThreadPoolExecutor.java:586)
>  at org.apache.cassandra.concurrent.DebuggableScheduledThreadPoolExecutor.scheduleWithFixedDelay(DebuggableScheduledThreadPoolExecutor.java:64)
>  at org.apache.cassandra.utils.ExpiringMap.<init>(ExpiringMap.java:103)
>  at org.apache.cassandra.net.MessagingService.<init>(MessagingService.java:360)
>  at org.apache.cassandra.net.MessagingService.<init>(MessagingService.java:68)
>  at org.apache.cassandra.net.MessagingService$MSHandle.<clinit>(MessagingService.java:306)
>  ... 11 more
> java.lang.ExceptionInInitializerError
>  at org.apache.cassandra.net.MessagingService.instance(MessagingService.java:310)
>  at org.apache.cassandra.service.StorageService.<init>(StorageService.java:233)
>  at org.apache.cassandra.service.StorageService.<clinit>(StorageService.java:141)
>  at org.apache.cassandra.locator.DynamicEndpointSnitch.<init>(DynamicEndpointSnitch.java:87)
>  at org.apache.cassandra.locator.DynamicEndpointSnitch.<init>(DynamicEndpointSnitch.java:63)
>  at org.apache.cassandra.config.DatabaseDescriptor.createEndpointSnitch(DatabaseDescriptor.java:518)
>  at org.apache.cassandra.config.DatabaseDescriptor.applyConfig(DatabaseDescriptor.java:350)
>  at org.apache.cassandra.config.DatabaseDescriptor.<clinit>(DatabaseDescriptor.java:112)
>  at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:213)
>  at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:567)
>  at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:656)
> Caused by: java.lang.IllegalArgumentException
>  at java.util.concurrent.ScheduledThreadPoolExecutor.scheduleWithFixedDelay(ScheduledThreadPoolExecutor.java:586)
>  at org.apache.cassandra.concurrent.DebuggableScheduledThreadPoolExecutor.scheduleWithFixedDelay(DebuggableScheduledThreadPoolExecutor.java:64)
>  at org.apache.cassandra.utils.ExpiringMap.<init>(ExpiringMap.java:103)
>  at org.apache.cassandra.net.MessagingService.<init>(MessagingService.java:360)
>  at org.apache.cassandra.net.MessagingService.<init>(MessagingService.java:68)
>  at org.apache.cassandra.net.MessagingService$MSHandle.<clinit>(MessagingService.java:306)
>  ... 11 more
> Exception encountered during startup: null
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message