You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Brandon Williams (JIRA)" <ji...@apache.org> on 2013/08/08 19:31:48 UTC

[jira] [Updated] (CASSANDRA-5857) NumberFormatException during decommission

     [ https://issues.apache.org/jira/browse/CASSANDRA-5857?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brandon Williams updated CASSANDRA-5857:
----------------------------------------

    Attachment: 5857.txt

Patch to have SS look at the correct piece for the expire time.
                
> NumberFormatException during decommission
> -----------------------------------------
>
>                 Key: CASSANDRA-5857
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5857
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Brandon Williams
>            Assignee: Brandon Williams
>         Attachments: 5857.txt
>
>
> We half-fixed this in CASSANDRA-5696, but unfortunately StorageService is still looking at the token to get the expiretime in some cases.
> {noformat}
> java.lang.NumberFormatException: For input string: "113427455640312821154458202477256070484"
>         at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
>         at java.lang.Long.parseLong(Long.java:444)
>         at java.lang.Long.parseLong(Long.java:483)
>         at org.apache.cassandra.service.StorageService.extractExpireTime(StorageService.java:1660)
>         at org.apache.cassandra.service.StorageService.handleStateLeft(StorageService.java:1515)
>         at org.apache.cassandra.service.StorageService.onChange(StorageService.java:1234)
>         at org.apache.cassandra.gms.Gossiper.doNotifications(Gossiper.java:953)
>         at org.apache.cassandra.gms.Gossiper.applyNewStates(Gossiper.java:944)
>         at org.apache.cassandra.gms.Gossiper.applyStateLocally(Gossiper.java:902)
>         at org.apache.cassandra.gms.GossipDigestAck2VerbHandler.doVerb(GossipDigestAck2VerbHandler.java:50)
>         at org.apache.cassandra.net.MessageDeliveryTask.run(MessageDeliveryTask.java:56)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:722)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira