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

[jira] [Comment Edited] (CASSANDRA-5857) NumberFormatException during decommission

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

Ryan McGuire edited comment on CASSANDRA-5857 at 8/8/13 2:37 PM:
-----------------------------------------------------------------

-OK, so this is upgrade related? How do I reproduce this? I'm wondering what scenarios we need to add to the upgrade_through_versions dtest to avoid this error again.-

Nevermind, [~jjordan] set me straight that this is purely decomission.
                
      was (Author: enigmacurry):
    OK, so this is upgrade related? How do I reproduce this? I'm wondering what scenarios we need to add to the upgrade_through_versions dtest to avoid this error again.
                  
> 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
>
> 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