I am getting errors in nodetool. Strange it wants -ks (which I assume is keyspace) then when I try I get following error.
C:\servers\apache-cassandra-1.2.5\bin>nodetool rebuild_index -host localhost -ks video -cf videos
Unrecognized option: -ks
usage: java org.apache.cassandra.tools.NodeCmd --host <arg> <command>
What am I doing wrong? Is there good documentation somewhere with command line example?
Sylvain Lebresne <email@example.com>
To: "firstname.lastname@example.org" <email@example.com>; Tony Anecito <firstname.lastname@example.org>
Sent: Friday, July 5, 2013 3:12 AM
Subject: Re: How to build indexes?
Creating a secondary index will trigger the build of that index automatically.
However, that built is done asynchronously and can take some time if you have lots of existing data to index. To know when that building is done, you can check the nodes log for an entry looking like "Index build of <index_name> complete" (you can also check the IndexInfo system table (SELECT * FROM system."IndexInfo", the quotes matter for backward compatibility reason), a row for the new index will appear in that table when it's built).
You can also force a rebuild however if you want using nodetool rebuild_index.