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
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
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
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
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
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
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
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
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
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
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
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
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
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
;;
}
*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.
, 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
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
: 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
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
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
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
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
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
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
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:
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
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
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
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
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
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
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
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
> 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
--
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
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:
36 matches
Mail list logo