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

Cassandra-shuffle causes NumberFormatException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 1.2.17, 2.0.7, 2.1 beta2
    • Legacy/Tools
    • None
    • Amazon EC2

    • Normal

    Description

      Using Cassandra-shuffle create, then Cassandra-shuffle en causes a NumbertFormatException :

      Extract from output.log

      INFO 15:01:28,935 Enabling scheduled transfers of token ranges
      INFO 15:01:28,957 Initiating transfer of 3059156119944164299 (scheduled at Tue Sep 10 15:01:19 UTC 2013)
      WARN 15:01:28,962 Token 3059156119944164299 changing ownership from /10.36.194.173 to /10.39.67.29
      WARN 15:01:28,967 Token 3059156119944164299 changing ownership from /10.36.194.173 to /10.39.67.29
      INFO 15:01:28,968 RELOCATING: relocating [3059156119944164299] to 10.39.67.29
      INFO 15:01:28,968 RELOCATING: Sleeping 30000 ms before start streaming/fetching ranges
      ERROR 15:01:29,331 Exception in thread Thread[GossipStage:8,5,main]
      java.lang.NumberFormatException: For input string: ""
      at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
      at java.lang.Long.parseLong(Long.java:453)
      at java.lang.Long.valueOf(Long.java:540)
      at org.apache.cassandra.dht.Murmur3Partitioner$1.fromString(Murmur3Partitioner.java:183)
      at org.apache.cassandra.service.StorageService.handleStateRelocating(StorageService.java:1490)
      at org.apache.cassandra.service.StorageService.onChange(StorageService.java:1180)
      at org.apache.cassandra.gms.Gossiper.doNotifications(Gossiper.java:956)
      at org.apache.cassandra.gms.Gossiper.applyNewStates(Gossiper.java:947)
      at org.apache.cassandra.gms.Gossiper.applyStateLocally(Gossiper.java:905)
      at org.apache.cassandra.gms.GossipDigestAckVerbHandler.doVerb(GossipDigestAckVerbHandler.java:57)
      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:724)
      ERROR 15:01:30,098 Exception in thread Thread[GossipStage:9,5,main]
      java.lang.NumberFormatException: For input string: ""
      at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
      at java.lang.Long.parseLong(Long.java:453)
      at java.lang.Long.valueOf(Long.java:540)
      at org.apache.cassandra.dht.Murmur3Partitioner$1.fromString(Murmur3Partitioner.java:183)
      at org.apache.cassandra.service.StorageService.handleStateRelocating(StorageService.java:1490)
      at org.apache.cassandra.service.StorageService.onChange(StorageService.java:1180)
      at org.apache.cassandra.gms.Gossiper.doNotifications(Gossiper.java:956)
      at org.apache.cassandra.gms.Gossiper.applyNewStates(Gossiper.java:947)
      at org.apache.cassandra.gms.Gossiper.applyStateLocally(Gossiper.java:905)
      at org.apache.cassandra.gms.GossipDigestAck2VerbHandler.doVerb(GossipDigestAck2VerbHandler.java:49)
      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:724)

      Attachments

        Issue Links

          Activity

            People

              lyubent Lyuben Todorov
              willymontaz William Montaz
              Lyuben Todorov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: