cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brandonwilli...@apache.org
Subject [1/6] git commit: make sstablesplit respect default size
Date Fri, 13 Sep 2013 18:54:37 GMT
Updated Branches:
  refs/heads/cassandra-1.2 08c07f5f3 -> b281dd15d
  refs/heads/cassandra-2.0 c9f4f0d64 -> ab7fed683
  refs/heads/trunk 19c9a1ef4 -> 02eacf93a


make sstablesplit respect default size


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

Branch: refs/heads/cassandra-1.2
Commit: b281dd15db9139a50493aa35c85ea270cc9e84ef
Parents: 08c07f5
Author: Brandon Williams <brandonwilliams@apache.org>
Authored: Fri Sep 13 13:53:32 2013 -0500
Committer: Brandon Williams <brandonwilliams@apache.org>
Committed: Fri Sep 13 13:53:32 2013 -0500

----------------------------------------------------------------------
 src/java/org/apache/cassandra/tools/StandaloneSplitter.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/b281dd15/src/java/org/apache/cassandra/tools/StandaloneSplitter.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/tools/StandaloneSplitter.java b/src/java/org/apache/cassandra/tools/StandaloneSplitter.java
index 1ce94be..4876a4e 100644
--- a/src/java/org/apache/cassandra/tools/StandaloneSplitter.java
+++ b/src/java/org/apache/cassandra/tools/StandaloneSplitter.java
@@ -211,6 +211,7 @@ public class StandaloneSplitter
                 opts.debug = cmd.hasOption(DEBUG_OPTION);
                 opts.verbose = cmd.hasOption(VERBOSE_OPTION);
                 opts.snapshot = !cmd.hasOption(NO_SNAPSHOT_OPTION);
+                opts.sizeInMB = DEFAULT_SSTABLE_SIZE;
 
                 if (cmd.hasOption(SIZE_OPTION))
                     opts.sizeInMB = Integer.valueOf(cmd.getOptionValue(SIZE_OPTION));


Mime
View raw message