Reputation: 106
I have a script to create a cassandra keyspace and column families
cd C:\Tools\apache-cassandra-1.0.12
bin/cassandra-cli -host 127.0.0.1 -f C:\example_script.txt
pause
script is included in a batch file. When executed, nothing happens and the script closes.
Upvotes: 0
Views: 3889
Reputation: 2308
Can you try with '-f' instead of '--f'.
bin/cassandra-cli -host 127.0.0.1 -f C:\example_script.txt
If that doesn't work, please provide a sample of the commands present in 'example_script.txt'
Upvotes: 2