cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ZhaoYang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-9375) force minumum timeout value
Date Thu, 07 Dec 2017 09:22:00 GMT

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

ZhaoYang commented on CASSANDRA-9375:
-------------------------------------

There seems to be a mismatch : {{counter_cache_keys_to_save}}

{code}
        if(conf.counter_write_request_timeout_in_ms < LOWEST_ACCEPTED_TIMEOUT)
        {
           logInfo("counter_write_request_timeout_in_ms", conf.counter_cache_keys_to_save,
LOWEST_ACCEPTED_TIMEOUT);
           conf.counter_write_request_timeout_in_ms = LOWEST_ACCEPTED_TIMEOUT;
        }
{code}

> force minumum timeout value 
> ----------------------------
>
>                 Key: CASSANDRA-9375
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9375
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Brandon Williams
>            Assignee: Varun Barala
>            Priority: Trivial
>              Labels: patch
>             Fix For: 4.0
>
>         Attachments: CASSANDRA-9375.patch, CASSANDRA-9375_after_review, CASSANDRA-9375_after_review_2.patch
>
>
> 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.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org


Mime
View raw message