Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 230613

Re: Running cqlsh shell script from vROPS appliance

$
0
0

This does the trick. Just had to add it to the end of the line. Problem is Cassandra won't delete on a non-primary key. So it will work just fine if you're not trying a delete statement that relies on a non-standard key.

 

#!/bin/bash

 

$VCOPS_BASE/cassandra/apache-cassandra-2.1.8/bin/cqlsh --ssl --cqlshrc  $VCOPS_BASE/user/conf/cassandra/cqlshrc -e "cql_statement;"


Viewing all articles
Browse latest Browse all 230613

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>