Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-9375

force minumum timeout value

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Fix Version/s: 4.0, 4.0-alpha1
    • Component/s: None
    • Labels:

      Description

      Granted, this is a nonsensical setting, but the error message makes it tough to discern what's wrong:

      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
      

        Attachments

        1. CASSANDRA-9375.patch
          3 kB
          Varun Barala
        2. CASSANDRA-9375_after_review_2.patch
          9 kB
          Varun Barala
        3. CASSANDRA-9375_after_review
          6 kB
          Varun Barala

          Activity

            People

            • Assignee:
              varuna Varun Barala
              Reporter:
              brandon.williams Brandon Williams
              Authors:
              Varun Barala
              Reviewers:
              Jason Brown
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: