Re: [Dev] Need help with Cassandra
Hi Chamila, Were you able to solve your problem? I'm using apache-cassandra-1.1.3 and able to get the cqlsh terminal without any issues. Simply run ./cqlsh hostname port within apache-cassandra-1.1.3/bin directory. In my instance ./cqlsh 10.100.0.128 9160 udara@thinkPad:~/wso2/workspace/support/apache-cassandra-1.1.3/bin$ ./cqlsh 10.100.0.128 9160 Connected to Test Cluster at 10.100.0.128:9160. [cqlsh 2.2.0 | Cassandra 1.1.3 | CQL spec 2.0.0 | Thrift protocol 19.32.0] Use HELP for help. cqlsh Regards, UdaraR On Thu, Jan 23, 2014 at 10:37 PM, Chamila Wijayarathna cham...@wso2.comwrote: Hi Udara, I'm using Python 2.7.4 . Thank You On Thu, Jan 23, 2014 at 3:59 PM, Udara Rathnayake uda...@wso2.com wrote: Hi, Since cqlsh is python based, check your python version compatibility. Regards, UdaraR On Thu, Jan 23, 2014 at 1:09 PM, Chamila Wijayarathna cham...@wso2.comwrote: Hi all, For out intern project, we are using CEP with cassandra output adapter. For observation purposes we downloaded cassandra from [1] and tried to run ./cqlsh from bin folder. It says that bash: ./cqlsh: Permission denied, when I ran it with sudo it says Command not found. When I ran chmod u+x cqlsh and then tried ./cqlsh, now it says that Can't locate transport factory function cqlshlib.tfactory.regular_transport_factory. What is the problem here? Thank You. -- *Chamila Wijayarathna* Engineering Intern, WSO2 Inc. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Udara Rathnayake* Software Engineer WSO2 Inc. : http://wso2.com Mobile : +94 772207239 Twitter : http://twitter.com/udarakr Blog: http://udarakr.blogspot.com -- *Chamila Wijayarathna* Engineering Intern, WSO2 Inc. -- *Udara Rathnayake* Software Engineer WSO2 Inc. : http://wso2.com Mobile : +94 772207239 Twitter : http://twitter.com/udarakr Blog: http://udarakr.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Need help with Cassandra
when I ran it with sudo it says Command not found. *open the shell script and read. it may have command which is not available on your platform* On Thu, Jan 23, 2014 at 1:09 PM, Chamila Wijayarathna cham...@wso2.comwrote: Hi all, For out intern project, we are using CEP with cassandra output adapter. For observation purposes we downloaded cassandra from [1] and tried to run ./cqlsh from bin folder. It says that bash: ./cqlsh: Permission denied, when I ran it with sudo it says Command not found. When I ran chmod u+x cqlsh and then tried ./cqlsh, now it says that Can't locate transport factory function cqlshlib.tfactory.regular_transport_factory. What is the problem here? Thank You. -- *Chamila Wijayarathna* Engineering Intern, WSO2 Inc. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Need help with Cassandra
Hi, Since cqlsh is python based, check your python version compatibility. Regards, UdaraR On Thu, Jan 23, 2014 at 1:09 PM, Chamila Wijayarathna cham...@wso2.comwrote: Hi all, For out intern project, we are using CEP with cassandra output adapter. For observation purposes we downloaded cassandra from [1] and tried to run ./cqlsh from bin folder. It says that bash: ./cqlsh: Permission denied, when I ran it with sudo it says Command not found. When I ran chmod u+x cqlsh and then tried ./cqlsh, now it says that Can't locate transport factory function cqlshlib.tfactory.regular_transport_factory. What is the problem here? Thank You. -- *Chamila Wijayarathna* Engineering Intern, WSO2 Inc. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Udara Rathnayake* Software Engineer WSO2 Inc. : http://wso2.com Mobile : +94 772207239 Twitter : http://twitter.com/udarakr Blog: http://udarakr.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Need help with Cassandra
Hi Udara, I'm using Python 2.7.4 . Thank You On Thu, Jan 23, 2014 at 3:59 PM, Udara Rathnayake uda...@wso2.com wrote: Hi, Since cqlsh is python based, check your python version compatibility. Regards, UdaraR On Thu, Jan 23, 2014 at 1:09 PM, Chamila Wijayarathna cham...@wso2.comwrote: Hi all, For out intern project, we are using CEP with cassandra output adapter. For observation purposes we downloaded cassandra from [1] and tried to run ./cqlsh from bin folder. It says that bash: ./cqlsh: Permission denied, when I ran it with sudo it says Command not found. When I ran chmod u+x cqlsh and then tried ./cqlsh, now it says that Can't locate transport factory function cqlshlib.tfactory.regular_transport_factory. What is the problem here? Thank You. -- *Chamila Wijayarathna* Engineering Intern, WSO2 Inc. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Udara Rathnayake* Software Engineer WSO2 Inc. : http://wso2.com Mobile : +94 772207239 Twitter : http://twitter.com/udarakr Blog: http://udarakr.blogspot.com -- *Chamila Wijayarathna* Engineering Intern, WSO2 Inc. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Need help with Cassandra
Hi all, For out intern project, we are using CEP with cassandra output adapter. For observation purposes we downloaded cassandra from [1] and tried to run ./cqlsh from bin folder. It says that bash: ./cqlsh: Permission denied, when I ran it with sudo it says Command not found. When I ran chmod u+x cqlsh and then tried ./cqlsh, now it says that Can't locate transport factory function cqlshlib.tfactory.regular_transport_factory. What is the problem here? Thank You. -- *Chamila Wijayarathna* Engineering Intern, WSO2 Inc. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev