cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject [5/6] git commit: improve error message on partitioner mismatch patch by jbellis; reviewed by slebresne for CASSANDRA-4843
Date Tue, 27 Nov 2012 15:36:15 GMT
improve error message on partitioner mismatch
patch by jbellis; reviewed by slebresne for CASSANDRA-4843


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/7b4639ab
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/7b4639ab
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/7b4639ab

Branch: refs/heads/cassandra-1.2.0
Commit: 7b4639ab26d6c1f174bab07a32eb7838c1c51c09
Parents: 93738e3
Author: Jonathan Ellis <jbellis@apache.org>
Authored: Wed Nov 28 00:35:50 2012 +0900
Committer: Jonathan Ellis <jbellis@apache.org>
Committed: Wed Nov 28 00:35:50 2012 +0900

----------------------------------------------------------------------
 .../apache/cassandra/io/sstable/SSTableReader.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/7b4639ab/src/java/org/apache/cassandra/io/sstable/SSTableReader.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/io/sstable/SSTableReader.java b/src/java/org/apache/cassandra/io/sstable/SSTableReader.java
index 6a9e8d2..8fe820a 100644
--- a/src/java/org/apache/cassandra/io/sstable/SSTableReader.java
+++ b/src/java/org/apache/cassandra/io/sstable/SSTableReader.java
@@ -173,7 +173,7 @@ public class SSTableReader extends SSTable
         String partitionerName = partitioner.getClass().getCanonicalName();
         if (sstableMetadata.partitioner != null && !partitionerName.equals(sstableMetadata.partitioner))
         {
-            logger.error(String.format("Cannot open %s because partitioner does not match
%s != %s.  Please verify your partitioner in cassandra.yaml",
+            logger.error(String.format("Cannot open %s; partitioner %s does not match system
partitioner %s.  Note that the default partitioner starting with Cassandra 1.2 is Murmur3Partitioner,
so you will need to edit that to match your old partitioner if upgrading.",
                                        descriptor, sstableMetadata.partitioner, partitionerName));
             System.exit(1);
         }


Mime
View raw message