You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by jj...@apache.org on 2017/03/27 02:49:37 UTC

[1/2] cassandra git commit: Fix typo in SSTableMetadataViewer: Clustring -> Clustering

Repository: cassandra
Updated Branches:
  refs/heads/trunk 732d1af86 -> 23cd27fcf


Fix typo in SSTableMetadataViewer: Clustring -> Clustering

Closes #101

Patch by Gabriel Garcia; Reviewed by Jeff Jirsa for CASSANDRA-13380


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

Branch: refs/heads/trunk
Commit: 595d58694e095d1a8a180853eb464937f36d1af0
Parents: 732d1af
Author: Gabriel Garcia <ga...@live.com>
Authored: Sat Mar 25 08:15:33 2017 -0400
Committer: Jeff Jirsa <je...@jeffjirsa.net>
Committed: Sun Mar 26 19:42:02 2017 -0700

----------------------------------------------------------------------
 src/java/org/apache/cassandra/tools/SSTableMetadataViewer.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/595d5869/src/java/org/apache/cassandra/tools/SSTableMetadataViewer.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/tools/SSTableMetadataViewer.java b/src/java/org/apache/cassandra/tools/SSTableMetadataViewer.java
index 63c7f96..2f6aca0 100644
--- a/src/java/org/apache/cassandra/tools/SSTableMetadataViewer.java
+++ b/src/java/org/apache/cassandra/tools/SSTableMetadataViewer.java
@@ -129,8 +129,8 @@ public class SSTableMetadataViewer
                             minValues[i] = clusteringTypes.get(i).getString(minClusteringValues.get(i));
                             maxValues[i] = clusteringTypes.get(i).getString(maxClusteringValues.get(i));
                         }
-                        out.printf("minClustringValues: %s%n", Arrays.toString(minValues));
-                        out.printf("maxClustringValues: %s%n", Arrays.toString(maxValues));
+                        out.printf("minClusteringValues: %s%n", Arrays.toString(minValues));
+                        out.printf("maxClusteringValues: %s%n", Arrays.toString(maxValues));
                     }
                     out.printf("Estimated droppable tombstones: %s%n", stats.getEstimatedDroppableTombstoneRatio((int) (System.currentTimeMillis() / 1000) - gcgs));
                     out.printf("SSTable Level: %d%n", stats.sstableLevel);


[2/2] cassandra git commit: Fix typo in exception message

Posted by jj...@apache.org.
Fix typo in exception message

Closes #102

Patch by Bruno P. Kinoshita ; Reviewed by Jeff Jirsa for CASSANDRA-13381


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

Branch: refs/heads/trunk
Commit: 23cd27fcfac32d6bbbadf0211472585452021410
Parents: 595d586
Author: Bruno P. Kinoshita <ki...@users.noreply.github.com>
Authored: Sun Mar 26 22:59:27 2017 +1300
Committer: Jeff Jirsa <je...@jeffjirsa.net>
Committed: Sun Mar 26 19:44:24 2017 -0700

----------------------------------------------------------------------
 src/java/org/apache/cassandra/db/Clustering.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/23cd27fc/src/java/org/apache/cassandra/db/Clustering.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/db/Clustering.java b/src/java/org/apache/cassandra/db/Clustering.java
index 772961f..e585a8f 100644
--- a/src/java/org/apache/cassandra/db/Clustering.java
+++ b/src/java/org/apache/cassandra/db/Clustering.java
@@ -140,7 +140,7 @@ public interface Clustering extends ClusteringPrefix
             }
             catch (IOException e)
             {
-                throw new RuntimeException("Writting to an in-memory buffer shouldn't trigger an IOException", e);
+                throw new RuntimeException("Writing to an in-memory buffer shouldn't trigger an IOException", e);
             }
         }