Unknown macro: {next_previous_link3}
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Introduction

Key Count sample helps to count number of keys in a key space. Users can use this sample to verify the number of keys in a Column.

Prerequisites

  • Java Development Kit / JRE version 1.6.* or 1.7.*
  • Apache Maven 3.x.x later

JDK and Ant setup instructions are given in section Installation Prerequisites.

Building the Sample

Go to $CARBON_HOME/samples/css/CLI/css-ks-keycounter

Build the project with Maven

mvn clean install

Build the project with dependency libraries

mvn clean assembly:assembly -o

Executing the Sample

Execute the program

java -jar target/cassandra_tool_kit-1.0-jar-with-dependencies.jar admin admin 10.100.3.234:9170 EVENT_KS bam_service_data_publisher

or
cassandra_tool_kit.KeyspaceStatistics tenantName tenantPasswd hostPool keyspace columnFamily

eg: cassandra_tool_kit.KeyspaceStatistics admin admin 10.100.3.234:9170 EVENT_KS bam_service_data_publisher

  • No labels