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/dedeb0be
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/dedeb0be
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/dedeb0be

Branch: refs/heads/trunk
Commit: dedeb0be8a8173a045e976b9878ff72110242f00
Parents: f82021b
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:56 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/dedeb0be/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));

Reply via email to