Give users a clue how they called it.
Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/72e031e6 Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/72e031e6 Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/72e031e6 Branch: refs/heads/trunk Commit: 72e031e6e81da79896f44450e0e683a3439ad1ae Parents: 37a0d32 Author: Brandon Williams <brandonwilli...@apache.org> Authored: Wed May 1 20:11:22 2013 -0500 Committer: Brandon Williams <brandonwilli...@apache.org> Committed: Wed May 1 20:11:22 2013 -0500 ---------------------------------------------------------------------- .../apache/cassandra/dht/Murmur3Partitioner.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cassandra/blob/72e031e6/src/java/org/apache/cassandra/dht/Murmur3Partitioner.java ---------------------------------------------------------------------- diff --git a/src/java/org/apache/cassandra/dht/Murmur3Partitioner.java b/src/java/org/apache/cassandra/dht/Murmur3Partitioner.java index a969320..502f5cc 100644 --- a/src/java/org/apache/cassandra/dht/Murmur3Partitioner.java +++ b/src/java/org/apache/cassandra/dht/Murmur3Partitioner.java @@ -121,7 +121,7 @@ public class Murmur3Partitioner extends AbstractPartitioner<LongToken> // 0-case if (!i.hasNext()) - throw new RuntimeException("No nodes present in the cluster. How did you call this?"); + throw new RuntimeException("No nodes present in the cluster. Has this node finished starting up?"); // 1-case if (sortedTokens.size() == 1) ownerships.put((Token) i.next(), new Float(1.0));