Cassandra cql shell script

Viewed 4506

I'm having an issue with a simple script here. Just can't find documented help that resolves my issue.

Here is my script.

#!/bin/bash 

$VCOPS_BASE/cassandra/apache-cassandra-2.1.8/bin/cqlsh --ssl --cqlshrc  $VCOPS_BASE/user/conf/cassandra/cqlshrc 

-e "cql_statement;"

I left out the cql for simplicity's sake, but everytime I run my file from the command line I simply enter the cql shell.

--execute and echo don't work either and I'm really not sure why I would need to save the cql statement to another file.

Any help would be appreciated.

1 Answers
Related