Related to Cassandra Client connecting to Cassandra cluster deployed in k8s

2021-10-18 Thread Deepak Sharma
Hi There, I need some suggestions in terms of connecting to the Cassandra cluster which is deployed on the Kubernetes cluster via the datastax client library. The idea is to expose Kubernetes Service object for the Cassandra cluster which can be leveraged by a client which is using the datastax l

Re: Error connecting to cassandra through php/browser

2021-04-11 Thread Bowen Song
Temporarily disable SELinux (or set it to permissive mode) for troubleshooting is fine, but once you know SELinux is the cause, you should consider change the policies (often via setsebool or audit2allow) to allow the connection. Blindly disable SELinux does solve the issue, but it isn't a good

Re: Error connecting to cassandra through php/browser

2021-04-10 Thread Shabu Khan
Thank you Bowen. Much appreciated. You were right. I disabled the selinux and I got past that error/page. ## To temporarily disable selinux on centos 7 $ sudo setenforce 0 ## To permanently disable, set SELINUX=disabled in /etc/selinux/config -Shabu On Sun, Apr 11, 2021 at 1:26 AM Bowen Song

Re: Error connecting to cassandra through php/browser

2021-04-10 Thread Bowen Song
What do you mean "through the browser"? Is it a php page that runs on something like Apache/Nginx? If that's the case, and the same code and the same setup works on Ubuntu 18 but not CentOS 7, I would recommend you to have a look at the SELinux logs. On 10/04/2021 14:01, Shabu Khan wrote: Hel

Error connecting to cassandra through php/browser

2021-04-10 Thread Shabu Khan
Hello: When I try this from the command line it works: [root@localhost cassandra]# cqlsh -u testuser -p Welcome123! -k testapp Connected to Test Cluster at 127.0.0.1:9042. [cqlsh 5.0.1 | Cassandra 3.11.10 | CQL spec 3.4.4 | Native protocol v4] Use HELP for help. testuser@cqlsh:testapp> But throu

Re: Error Connecting to Cassandra

2015-10-29 Thread Eduardo Alfaia
ache.org>" >> Date: Wednesday, October 28, 2015 at 5:09 PM >> To: "user@cassandra.apache.org <mailto:user@cassandra.apache.org>" >> Subject: Re: Error Connecting to Cassandra >> >> I am using cassandra standalone, the machine is up, I was

Re: Error Connecting to Cassandra

2015-10-29 Thread Adam Holmberg
check the logs for indication that it’s failing. > > From: Eduardo Alfaia > Reply-To: "user@cassandra.apache.org" > Date: Wednesday, October 28, 2015 at 5:09 PM > To: "user@cassandra.apache.org" > Subject: Re: Error Connecting to Cassandra > > I am using c

Re: Error Connecting to Cassandra

2015-10-29 Thread Eduardo Alfaia
luster: Not executing scheduled task due to Scheduler shutdown}On 29 Oct 2015, at 06:11, Jeff Jirsa <jeff.ji...@crowdstrike.com> wrote:The cassandra system.log would be more usefulWhen Cassandra starts rejecting or dropping tcp connections, try to connect using cqlsh, and check the logs for indi

Re: Error Connecting to Cassandra

2015-10-28 Thread Jeff Jirsa
at 5:09 PM To: "user@cassandra.apache.org" Subject: Re: Error Connecting to Cassandra I am using cassandra standalone, the machine is up, I was monitoring the cassandra seeing the system.log but I didn’t see anything wrong. I’ve captured the flow of packets using wireshark an

Re: Error Connecting to Cassandra

2015-10-28 Thread Eduardo Alfaia
I am using cassandra standalone, the machine is up, I was monitoring the cassandra seeing the system.log but I didn’t see anything wrong.I’ve captured the flow of packets using wireshark and I’ve seen that the cassandra server is reset the connection with the client. I am sending the python app whi

Re: Error Connecting to Cassandra

2015-10-28 Thread Surbhi Gupta
Hi Eduardo, Is the cluster up and running? As your message says "Control connection failed to connect, shutting down Cluster" May be you can get some more info from the system.log. Thanks Surbhi On 28 October 2015 at 16:46, Eduardo Alfaia wrote: > Hi Gupta, > > I am running a simple python ap

Re: Error Connecting to Cassandra

2015-10-28 Thread Eduardo Alfaia
Hi Gupta, I am running a simple python application that isn’t heavy from point of view of access to cassandra. The application create a new keyspace, tables and do the load of data. The application is an example in python-driver folder. > On 29 Oct 2015, at 00:33, Surbhi Gupta wrote: > > Are

Re: Error Connecting to Cassandra

2015-10-28 Thread Surbhi Gupta
Are you running heavy load? I have seen these kinds error application team reporting to us in case when they have too many connection already setup and they are trying to connect more applications. Try to disconnect the applications which are not required and try again .. Hope this helps... On 28

Error Connecting to Cassandra

2015-10-28 Thread Eduardo Alfaia
Hi Guys, I am some problems of Connection Timeout in a random mode, that is, the application in python that I am using sometimes it does work very well sometimes not, I am getting this error: 015-10-28 19:49:05,286 [WARNING] cassandra.cluster: [control connection] Error connecting to 10.20.25

RE: Connecting to Cassandra cluster in AWS from local network

2015-04-21 Thread Matthew Johnson
;; } *return* *new* InetSocketAddress(newAddress, address.getPort()); } }).build(); Cheers, Matt *From:* Russell Bradberry [mailto:rbradbe...@gmail.com] *Sent:* 20 April 2015 19:06 *To:* user@cassandra.apache.

Re: Connecting to Cassandra cluster in AWS from local network

2015-04-20 Thread Russell Bradberry
, then one of the solutions outlined in https://datastax-oss.atlassian.net/browse/JAVA-145 may be more appropriate. -Russ From: Alex Popescu Reply-To: Date: Monday, April 20, 2015 at 2:00 PM To: user Subject: Re: Connecting to Cassandra cluster in AWS from local network You'll ha

Re: Connecting to Cassandra cluster in AWS from local network

2015-04-20 Thread Alex Popescu
You'll have to configure your nodes to: 1. use AWS internal IPs for inter-node connection (check listen_address) and 2. use the AWS public IP for client-to-node connections (check rpc_address) Depending on the setup, there might be other interesting conf options in cassandra.yaml (broadcast_addre

Re: Connecting to Cassandra cluster in AWS from local network

2015-04-20 Thread Russell Bradberry
: Connecting to Cassandra cluster in AWS from local network Ideally you'll be on the same network, but if you can't be, you'll need to use the public ip in listen_address. On Mon, Apr 20, 2015 at 9:47 AM Matthew Johnson wrote: Hi all, I have set up a Cassandra cluster with 2.1.4 o

Re: Connecting to Cassandra cluster in AWS from local network

2015-04-20 Thread Jonathan Haddad
Ideally you'll be on the same network, but if you can't be, you'll need to use the public ip in listen_address. On Mon, Apr 20, 2015 at 9:47 AM Matthew Johnson wrote: > Hi all, > > > > I have set up a Cassandra cluster with 2.1.4 on some existing AWS boxes, > just as a POC. Cassandra servers con

Connecting to Cassandra cluster in AWS from local network

2015-04-20 Thread Matthew Johnson
Hi all, I have set up a Cassandra cluster with 2.1.4 on some existing AWS boxes, just as a POC. Cassandra servers connect to each other over their internal AWS IP addresses (172.x.x.x) aliased in /etc/hosts as sales1, sales2 and sales3. I connect to it from my local dev environment using the

PoolTimeoutException while connecting to Cassandra

2014-08-28 Thread Vineet Mishra
Hi All, I have downloaded titan-server-0.4.4 and trying to integrate it with Cassandra as backend datasource. Cassandra is running as external on 4 node machine, now I am trying to start Rexster with the Cassandra as my backend source but it comes up with error while initializing. I have even trie

Re: Connecting to cassandra.

2012-11-11 Thread aaron morton
r > happened. I am not sure of the impact of setting it to this loopback address. > > From: Wz1975 [mailto:wz1...@yahoo.com] > Sent: Sunday, November 11, 2012 2:44 PM > To: user@cassandra.apache.org > Subject: RE: Connecting to cassandra. > Importance: Low > > For y

RE: Connecting to cassandra.

2012-11-11 Thread Kevin Burton
loopback address. From: Wz1975 [mailto:wz1...@yahoo.com] Sent: Sunday, November 11, 2012 2:44 PM To: user@cassandra.apache.org Subject: RE: Connecting to cassandra. Importance: Low For your testing, I think put your machine's ip should work. Thanks. -Wei Sent from my Samsung smartpho

RE: Connecting to cassandra.

2012-11-11 Thread Wz1975
For your testing,  I think put your machine's ip should work.  Thanks. -Wei Sent from my Samsung smartphone on AT&T Original message Subject: RE: Connecting to cassandra. From: Kevin Burton To: user@cassandra.apache.org CC: Thank you in the output.log I see

RE: Connecting to cassandra.

2012-11-10 Thread Kevin Burton
ache.org Subject: RE: Connecting to cassandra. Importance: Low The first thing to check is the log files under /var/log/cassandra, should give you some hint. Thanks. -Wei Sent from my Samsung smartphone on AT&T Original message ---- Subject: Connecting to cassandra. From:

RE: Connecting to cassandra.

2012-11-10 Thread Wz1975
The first thing to check is the log files under /var/log/cassandra,  should give you some hint.  Thanks. -Wei Sent from my Samsung smartphone on AT&T Original message Subject: Connecting to cassandra. From: Kevin Burton To: user@cassandra.apache.org CC: I

Connecting to cassandra.

2012-11-10 Thread Kevin Burton
I have installed Cassandra on a Ubuntu Server but I fail to see it with either: ps ax or netstat -an | grep 9160 I see a file /etc/init.d/cassandra so I am assuming that it should start up. What else do I need to do? I have edited cassandra.yaml for all the places that specifically

Re: weird error when connecting to cassandra mbean proxy

2011-04-07 Thread Narendra Sharma
The correct object name is "org.apache.cassandra.db:type=StorageProxy" -Naren On Thu, Apr 7, 2011 at 4:36 PM, Anurag Gujral wrote: > Hi All, > I have written a code for connecting to mbean server runnning on cassandra > node. > I get the following error: > Exception in thread "main" java.lang.r

weird error when connecting to cassandra mbean proxy

2011-04-07 Thread Anurag Gujral
Hi All, I have written a code for connecting to mbean server runnning on cassandra node. I get the following error: Exception in thread "main" java.lang.reflect.UndeclaredThrowableException at $Proxy1.getReadOperations(Unknown Source) at com.smeet.cassandra.CassandraJmxHttpServerMy.(Cassan

Re: error connecting to cassandra 0.7.3

2011-03-24 Thread Tyler Hobbs
al >>>> >>>>> >>>>> I am using the following code to create my client. >>>>> >>>>> tr = new TSocket(url, port); >>>>> TProtocol proto = new TBinaryProtocol(tr); >>>>> client = new Cassandra.Clien

Re: error connecting to cassandra 0.7.3

2011-03-24 Thread Anurag Gujral
t;> >>>> tr = new TSocket(url, port); >>>> TProtocol proto = new TBinaryProtocol(tr); >>>> client = new Cassandra.Client(proto); >>>> client.set_keyspace(this.keyspace); >>>> >>>> I am getting the errors I mentioned below >>>> Thanks

Re: error connecting to cassandra 0.7.3

2011-03-24 Thread Anurag Gujral
w TBinaryProtocol(tr); >>> client = new Cassandra.Client(proto); >>> client.set_keyspace(this.keyspace); >>> >>> I am getting the errors I mentioned below >>> Thanks >>> Anurag >>> >>> >>> -- Forwarded message

Re: error connecting to cassandra 0.7.3

2011-03-24 Thread Anurag Gujral
col(tr); >> client = new Cassandra.Client(proto); >> client.set_keyspace(this.keyspace); >> >> I am getting the errors I mentioned below >> Thanks >> Anurag >> >> >> -- Forwarded message ------ >> From: Anurag Gujral >> Date: Thu, M

Re: error connecting to cassandra 0.7.3

2011-03-24 Thread ruslan usifov
> client = new Cassandra.Client(proto); > client.set_keyspace(this.keyspace); > > I am getting the errors I mentioned below > Thanks > Anurag > > > -- Forwarded message -- > From: Anurag Gujral > Date: Thu, Mar 24, 2011 at 1:26 AM > Subject: error connecting

error connecting to cassandra 0.7.3

2011-03-24 Thread Anurag Gujral
-- From: Anurag Gujral Date: Thu, Mar 24, 2011 at 1:26 AM Subject: error connecting to cassandra 0.7.3 To: user@cassandra.apache.org I am using cassandra-0.7.3 and thrift-0.0.5,I wrote a java client using thrift 0.0.5 when I try to connect to local cassandra server I get the following error ERROR

error connecting to cassandra 0.7.3

2011-03-24 Thread Anurag Gujral
I am using cassandra-0.7.3 and thrift-0.0.5,I wrote a java client using thrift 0.0.5 when I try to connect to local cassandra server I get the following error ERROR com.bluekai.cassandra.validation.ValidationThread - Failed to connect to 127.0.0.1. org.apache.thrift.transport.TTransportException: