You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2013/12/13 15:37:08 UTC
[jira] [Resolved] (CASSANDRA-5414) Unspecified initial_token with
ByteOrderedPartitioner results in java.lang.NumberFormatException: Non-hex
characters
[ https://issues.apache.org/jira/browse/CASSANDRA-5414?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis resolved CASSANDRA-5414.
---------------------------------------
Resolution: Won't Fix
Pas didn't supply the invalid token; the existing cluster did when it tried to bisect an existing token range on bootstrap.
Wontfixing since that code is already gone in 2.0 (CASSANDRA-5518).
> Unspecified initial_token with ByteOrderedPartitioner results in java.lang.NumberFormatException: Non-hex characters
> --------------------------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-5414
> URL: https://issues.apache.org/jira/browse/CASSANDRA-5414
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 1.2.3
> Environment: Oracle JDK, java 1.7.0_07, amd64 (x86_64), on a Debian Squeeze, no virtual nodes, nothing fancy.
> Reporter: Pas
> Assignee: Lyuben Todorov
> Priority: Minor
>
> Using one seed, after adding the third node the fresh node chooses an illegal token, so it can't bootstrap itself. So I had to specify initial_token on each host manually. (Which, as far as I know, is recommended anyway for non-random partitioners.)
> java.lang.NumberFormatException: Non-hex characters in ^@^V73797374656d5f61757468
> at org.apache.cassandra.utils.Hex.hexToBytes(Hex.java:60)
> at org.apache.cassandra.dht.AbstractByteOrderedPartitioner$1.fromString(AbstractByteOrderedPartitioner.java:167)
> at org.apache.cassandra.dht.BootStrapper$BootstrapTokenCallback.response(BootStrapper.java:230)
> at org.apache.cassandra.net.ResponseVerbHandler.doVerb(ResponseVerbHandler.java:45)
> at org.apache.cassandra.net.MessageDeliveryTask.run(MessageDeliveryTask.java:59)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> at java.lang.Thread.run(Thread.java:722)
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)