Groups
Groups
Sign in
Groups
Groups
hector-users
Conversations
About
Send feedback
Help
Connecting to Cassandra client from shell script
2,539 views
Skip to first unread message
Srini
unread,
Sep 5, 2012, 6:54:38 AM
9/5/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to hector...@googlegroups.com
Hi,
Is it possible to execute the Cassandra Client queries from a shell script like the way we do for SQL PLUS ?
Benoit Perroud
unread,
Sep 5, 2012, 7:02:43 AM
9/5/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to hector...@googlegroups.com
What you are looking for sounds like CQLSH :
http://www.datastax.com/docs/1.1/dml/using_cql
2012/9/5 Srini <
lsvar...@gmail.com
>:
Srini
unread,
Sep 5, 2012, 10:10:47 AM
9/5/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to hector...@googlegroups.com
Hi,
I am getting below message.
bash-3.2$ ksh cqlsh
No appropriate python interpreter found.
bash-3.2$
Also, i want to connect from another shell script say a.sh and execute something like below
use system;
set LocationInfo[utf8('L')][utf8('Test Cluster')]=utf8('<Test>');
exit;
Nate McCall
unread,
Sep 5, 2012, 10:33:59 AM
9/5/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to hector...@googlegroups.com
Take a look at the following overview/installation instructions for CQL:
http://www.datastax.com/docs/1.1/dml/using_cql
Reply all
Reply to author
Forward
0 new messages