Re: sstablescrum fails with OOM

2017-11-02 Thread sai krishnam raju potturi
Yes. Move the corrupt sstable, and run a repair on this node, so that it gets in sync with it's peers. On Thu, Nov 2, 2017 at 6:12 PM, Shashi Yachavaram wrote: > We are cassandra 2.0.17 and have corrupted sstables. Ran offline > sstablescrub but it fails with OOM. Increased

Re: IPv6-only host, can't seem to get Cassandra to bind to a public port

2017-04-11 Thread sai krishnam raju potturi
are facing. thanks Sai On Tue, Apr 11, 2017 at 10:29 AM, Martijn Pieters <mjpiet...@fb.com> wrote: > From: sai krishnam raju potturi <pskraj...@gmail.com> > > I got a similar error, and commenting out the below line helped. > > JVM_OPTS="$JVM_OPTS -Djava.net.p

Re: IPv6-only host, can't seem to get Cassandra to bind to a public port

2017-04-11 Thread sai krishnam raju potturi
I got a similar error, and commenting out the below line helped. JVM_OPTS="$JVM_OPTS -Djava.net.preferIPv4Stack=true" Did you also include "rpc_interface_prefer_ipv6: true" in the YAML file? thanks Sai On Tue, Apr 11, 2017 at 6:37 AM, Martijn Pieters wrote: > I’m

Re: Re : Decommissioned nodes show as DOWN in Cassandra versions 2.1.12 - 2.1.16

2017-01-27 Thread sai krishnam raju potturi
gt; To: "user@cassandra.apache.org" <user@cassandra.apache.org> > Subject: Re: Re : Decommissioned nodes show as DOWN in Cassandra versions > 2.1.12 - 2.1.16 > > we've seen this issue on a few clusters, including on 2.1.7 and 2.1.8. > pretty sure it is an issue in gossip that'

Re : Decommissioned nodes show as DOWN in Cassandra versions 2.1.12 - 2.1.16

2017-01-23 Thread sai krishnam raju potturi
In the Cassandra versions 2.1.11 - 2.1.16, after we decommission a node or datacenter, we observe the decommissioned nodes marked as DOWN in the cluster when you do a "nodetool describecluster". The nodes however do not show up in the "nodetool status" command. The decommissioned node also does

Re: Re : Generic keystore when enabling SSL

2016-11-17 Thread sai krishnam raju potturi
ss all the nodes with the 3rd party root/intermediate CA > existing only in the truststore. If so, please share your experience and > lessons learned. Would this impact client-to-node encryption as the > certificates used in internode would not have the hostnames represented in > CN? >

Re: Rebuild failing while adding new datacenter

2016-10-20 Thread sai krishnam raju potturi
we faced a similar issue earlier, but that was more related to firewall rules. The newly added datacenter was not able to communicate with the existing datacenters on the port 7000(inter-node communication). Your's might be a different issue, but just saying. On Thu, Oct 20, 2016 at 4:12 PM, Jai

Re: Open File Handles for Deleted sstables

2016-09-28 Thread sai krishnam raju potturi
restarting the cassandra service helped get rid of those files in our situation. thanks Sai On Wed, Sep 28, 2016 at 3:15 PM, Anuj Wadehra wrote: > Hi, > > We are facing an issue where Cassandra has open file handles for deleted > sstable files. These open file handles

Re: Re : Generic keystore when enabling SSL

2016-09-21 Thread sai krishnam raju potturi
at 10:30 AM, Eric Evans <john.eric.ev...@gmail.com> wrote: > On Tue, Sep 20, 2016 at 12:57 PM, sai krishnam raju potturi > <pskraj...@gmail.com> wrote: > > Due to the security policies in our company, we were asked to use 3rd > party > > signed certs. Since we'll requ

Re: Re : Generic keystore when enabling SSL

2016-09-20 Thread sai krishnam raju potturi
thanks Robert; we followed the instructions mentioned in http://thelastpickle.com/blog/2015/09/30/hardening-cassandra -step-by-step-part-1-server-to-server.html. It worked great. Due to the security policies in our company, we were asked to use 3rd party signed certs. Since we'll

Re : Generic keystore when enabling SSL

2016-09-20 Thread sai krishnam raju potturi
hi; has anybody enabled SSL using a generic keystore for node-to-node encryption. We're using 3rd party signed certificates, and want to avoid the hassle of managing 100's of certificates. thanks Sai

Re: Is to ok restart DECOMMISION

2016-09-15 Thread sai krishnam raju potturi
hi Laxmi; what's the size of data per node? If the data is really huge, then let the decommission process continue. Else; stop the cassandra process on the decommissioning node, and from another node in the datacenter, do a "nodetool removenode host-id". This might speed up the decommissioning

Re: Re : Cluster performance after enabling SSL

2016-09-14 Thread sai krishnam raju potturi
ra, 13 Setembro 2016, 08:01PM +01:00 de sai krishnam raju potturi > pskraj...@gmail.com: > > > hi; > will enabling SSL (node-to-node) cause an overhead in the performance of > Cassandra? We have tried it out on a small test cluster while running > Cassandra-stress tool, and

Re: Re : Cluster performance after enabling SSL

2016-09-14 Thread sai krishnam raju potturi
t_encryption. > Our cluster gets around 40-50K reads and writes per second. > > On 13 September 2016 at 12:01, sai krishnam raju potturi < > pskraj...@gmail.com> wrote: > >> hi; >> will enabling SSL (node-to-node) cause an overhead in the performance >>

Re : Cluster performance after enabling SSL

2016-09-13 Thread sai krishnam raju potturi
hi; will enabling SSL (node-to-node) cause an overhead in the performance of Cassandra? We have tried it out on a small test cluster while running Cassandra-stress tool, and did not see much difference in terms of read and write latencies. Could somebody throw some light regarding any

Re: Bootstrapping multiple cassandra nodes simultaneously in existing dc

2016-09-11 Thread sai krishnam raju potturi
Make sure there is no spike in the load-avg on the existing nodes, as that might affect your application read request latencies. On Sun, Sep 11, 2016, 17:10 Jens Rantil wrote: > Hi Bhuvan, > > I have done such expansion multiple times and can really recommend >

Re: Re : Default values in Cassandra YAML file

2016-08-10 Thread sai krishnam raju potturi
assandra/config/Config.java#L131 > (But if I were you I would not rely on this. It's always better to be > explicit.) > > Best, > > Romain > > Le Mercredi 10 août 2016 17h50, sai krishnam raju potturi < > pskraj...@gmail.com> a écrit : > > > hi; >if ther

Re : Default values in Cassandra YAML file

2016-08-10 Thread sai krishnam raju potturi
hi; if there are any missed attributes in the YAML file, will Cassandra pick up default values for those attributes. thanks

Re: Re : Purging tombstones from a particular row in SSTable

2016-07-28 Thread sai krishnam raju potturi
quot;). > > Good luck, > > C*heers, > --- > Alain Rodriguez - al...@thelastpickle.com > France > > The Last Pickle - Apache Cassandra Consulting > http://www.thelastpickle.com > > 2016-07-28 0:00 GMT+02:00 sai krishnam raju potturi <pskraj..

Re: Re : Purging tombstones from a particular row in SSTable

2016-07-27 Thread sai krishnam raju potturi
ough to worry about. > > > > > > *From: *sai krishnam raju potturi <pskraj...@gmail.com> > *Reply-To: *"user@cassandra.apache.org" <user@cassandra.apache.org> > *Date: *Wednesday, July 27, 2016 at 2:43 PM > *To: *Cassandra Users <user@cassandra.apache.org>

Re: Re : Purging tombstones from a particular row in SSTable

2016-07-27 Thread sai krishnam raju potturi
={'sstable_compression': 'LZ4Compressor'}; thanks On Wed, Jul 27, 2016 at 5:34 PM, Vinay Kumar Chella <vinaykumar...@gmail.com > wrote: > What is your GC_grace_seconds set to? > > On Wed, Jul 27, 2016 at 1:13 PM, sai krishnam raju potturi < > pskraj...@gmail.com> wrote: >

Re: Re : Purging tombstones from a particular row in SSTable

2016-07-27 Thread sai krishnam raju potturi
econds >> >> >> File level compaction >> >> /usr/bin/java -jar cmdline-jmxclient-0.10.3.jar - localhost: >>> ​{​ >>> ​port} >>> org.apache.cassandra.db:type=CompactionManager >>> forceUserDefinedCompaction="'${KEYSPACE}','${

Re : Purging tombstones from a particular row in SSTable

2016-07-27 Thread sai krishnam raju potturi
hi; we have a columnfamily that has around 1000 rows, with one row is really huge (million columns). 95% of the row contains tombstones. Since there exists just one SSTable , there is going to be no compaction kicked in. Any way we can get rid of the tombstones in that row? Userdefined

Re: Re : Recommended procedure for enabling SSL on a live production cluster

2016-07-26 Thread sai krishnam raju potturi
es.apache.org/jira/browse/CASSANDRA-10559 > > On Thu, Jul 21, 2016 at 3:02 AM, sai krishnam raju potturi < > pskraj...@gmail.com> wrote: > >> hi ; >> if possible could someone shed some light on this. I followed a >> post from the lastpickle which was very

Re: Re : Recommended procedure for enabling SSL on a live production cluster

2016-07-21 Thread sai krishnam raju potturi
com> wrote: > If you migrate to the latest 2.1 first, you can make this a non-issue as > 2.1.12 and above support simultaneous SSL and plain on the same port for > exactly this use case: > https://issues.apache.org/jira/browse/CASSANDRA-10559 > > On Thu, Jul 21, 2016 at 3:02 AM, s

Re: Re : Recommended procedure for enabling SSL on a live production cluster

2016-07-20 Thread sai krishnam raju potturi
-- Forwarded message -- From: sai krishnam raju potturi <pskraj...@gmail.com> Date: Mon, Jul 18, 2016 at 11:06 AM Subject: Re : Recommended procedure for enabling SSL on a live production cluster To: user@cassandra.apache.org Hi; We have a Cassandra cluster ( version

Re : Recommended procedure for enabling SSL on a live production cluster

2016-07-18 Thread sai krishnam raju potturi
Hi; We have a Cassandra cluster ( version 2.0.14 ) spanning across 4 datacenters with 50 nodes each. We are planning to enable SSL between the datacenters. We are following the standard procedure for enabling SSL (

Re: Setting bloom_filter_fp_chance < 0.01

2016-05-18 Thread sai krishnam raju potturi
hi Adarsh; were there any drawbacks to setting the bloom_filter_fp_chance to the default value? thanks Sai On Wed, May 18, 2016 at 2:21 AM, Adarsh Kumar wrote: > Hi, > > What is the impact of setting bloom_filter_fp_chance < 0.01. > > During performance tuning I was

Re: Re : Optimum value for native_transport_max_concurrent_connections and native_transport_max_concurrent_connections_per_ip

2016-05-11 Thread sai krishnam raju potturi
> Alain Rodriguez - al...@thelastpickle.com > France > > The Last Pickle - Apache Cassandra Consulting > http://www.thelastpickle.com > > 2016-04-29 16:39 GMT+02:00 sai krishnam raju potturi <pskraj...@gmail.com> > : > >> hi; >> we are upgrading our c

Re : Optimum value for native_transport_max_concurrent_connections and native_transport_max_concurrent_connections_per_ip

2016-04-29 Thread sai krishnam raju potturi
hi; we are upgrading our cluster from apache-cassandra 2.0.14 to 2.0.17. We have been facing SYN flooding issue (port 9042) in our current version of Cassandra at times. We are hoping to tackle the SYN flooding issues with the following attributes in the YAML file for 2.0.17

Re : Optimum value for native_transport_max_concurrent_connections and native_transport_max_concurrent_connections_per_ip

2016-04-05 Thread sai krishnam raju potturi
hi; we are upgrading our cluster from apache-cassandra 2.0.14 to 2.0.17. We have been facing SYN flooding issue (port 9042) in our current version of Cassandra at times. We are hoping to tackle the SYN flooding issues with the following attributes in the YAML file for 2.0.17

Re: Re : decommissioned nodes shows up in "nodetool describecluster" as UNREACHABLE in 2.1.12 version

2016-02-18 Thread sai krishnam raju potturi
eady which seems to be your case, it should be > safe to use it in your case). I only used it to fix gossip status in the > past or at some point when forcing a removenode was not working, followed > by full repairs on remaining nodes. > > C*heers, > - > Alain Rodrigu

Re: Re : decommissioned nodes shows up in "nodetool describecluster" as UNREACHABLE in 2.1.12 version

2016-02-18 Thread sai krishnam raju potturi
;you might be impacted by >https://issues.apache.org/jira/browse/CASSANDRA-10371. In this case >upgrade to 2.1 or you can try the work arounds listed in the ticket. > > Ben > > On Tue, 16 Feb 2016 at 11:09 sai krishnam raju potturi < > pskraj...@gmail.com> wrote:

Re: Re : decommissioned nodes shows up in "nodetool describecluster" as UNREACHABLE in 2.1.12 version

2016-02-17 Thread sai krishnam raju potturi
show up in the "nodetool describecluster" and "nodetool gossipinfo" in 2.0.14 version that we use in another cluster. thanks Sai On Tue, Feb 16, 2016 at 2:08 PM, sai krishnam raju potturi < pskraj...@gmail.com> wrote: > hi; > we have a 12 node cluster across 2 da

Re : decommissioned nodes shows up in "nodetool describecluster" as UNREACHABLE in 2.1.12 version

2016-02-16 Thread sai krishnam raju potturi
hi; we have a 12 node cluster across 2 datacenters. We are currently using cassandra 2.1.12 version. SNITCH : GossipingPropertyFileSnitch When we decommissioned few nodes in a particular datacenter and observed the following : nodetool status shows only the live nodes in the cluster.

Re: reducing disk space consumption

2016-02-10 Thread sai krishnam raju potturi
suggestion : try the following command "lsof | grep DEL". If in the output if you see a lot of SSTable files; restart the node. The disk space will be claimed back. thanks Sai On Wed, Feb 10, 2016 at 9:59 AM, Ted Yu wrote: > Hi, > I am using DSE 4.8.4 > On one node,

Re: Re : Possibility of using 2 different snitches in the Multi_DC cluster

2016-02-03 Thread sai krishnam raju potturi
thanks a lot Robert. Greatly appreciate it. thanks Sai On Tue, Feb 2, 2016 at 6:19 PM, Robert Coli <rc...@eventbrite.com> wrote: > On Tue, Feb 2, 2016 at 1:23 PM, sai krishnam raju potturi < > pskraj...@gmail.com> wrote: > >> What is the possibility of using

Re : Possibility of using 2 different snitches in the Multi_DC cluster

2016-02-02 Thread sai krishnam raju potturi
hi; we have a multi-DC cluster spanning across our own private cloud and AWS. We are currently using Propertyfile snitch across our cluster. What is the possibility of using GossipingPropertFileSnitch on datacenters in our private cloud, and Ec2MultiRegionSnitch in AWS? Thanks in advance for

Re: Cassandra Cleanup and disk space

2015-11-26 Thread sai krishnam raju potturi
Could it have been that you expanded your cluster a while back, but did not cleanup then. On Thu, Nov 26, 2015, 07:51 Luigi Tagliamonte wrote: > I did it 2 times and in both times it freed a lot of space, don't think > that it's just a coincidence. > On Nov 26, 2015 10:56 AM,

Re: handling down node cassandra 2.0.15

2015-11-16 Thread sai krishnam raju potturi
Is that a seed node? On Mon, Nov 16, 2015, 05:21 Anishek Agarwal wrote: > Hello, > > We are having a 3 node cluster and one of the node went down due to a > hardware memory failure looks like. We followed the steps below after the > node was down for more than the default

Re: Re : will Unsafeassaniate a dead node maintain the replication factor

2015-11-01 Thread sai krishnam raju potturi
my iPhone > > On Oct 31, 2015, at 3:12 PM, sai krishnam raju potturi < > pskraj...@gmail.com> wrote: > > yes Surbhi. > > On Sat, Oct 31, 2015 at 1:13 PM, Surbhi Gupta <surbhi.gupt...@gmail.com> > wrote: > >> Is the cluster using vnodes? >> >>

Re : will Unsafeassaniate a dead node maintain the replication factor

2015-10-31 Thread sai krishnam raju potturi
hi; would unsafeassasinating a dead node maintain the replication factor like decommission process or removenode process? thanks

Re : Unable to bootstrap a new node

2015-10-31 Thread sai krishnam raju potturi
hi; we were trying to add in a new node to the cluster. It fails during the bootstrap process unable to gossip with seed nodes. We have not faced this earlier. 2015-10-31 12:30:15,779 [HANDSHAKE-/X.X.X.X] INFO OutboundTcpConnection Handshaking version with /X.X.X.X 2015-10-31 12:30:15,810

Re: Re : will Unsafeassaniate a dead node maintain the replication factor

2015-10-31 Thread sai krishnam raju potturi
>> streaming is completed you can do unsafe assanitation . >> >> To answer your question unsafe assanitation will not take care of >> replication factor . >> It is like forcing a node out from the cluster . >> >> Hope this helps. >> >>

Re: Re : will Unsafeassaniate a dead node maintain the replication factor

2015-10-31 Thread sai krishnam raju potturi
ation will not take care of > replication factor . > It is like forcing a node out from the cluster . > > Hope this helps. > > Sent from my iPhone > > > On Oct 31, 2015, at 5:12 AM, sai krishnam raju potturi < > pskraj...@gmail.com> wrote: > > > > hi; >

Re: Re : will Unsafeassaniate a dead node maintain the replication factor

2015-10-31 Thread sai krishnam raju potturi
yes Surbhi. On Sat, Oct 31, 2015 at 12:10 PM, Surbhi Gupta <surbhi.gupt...@gmail.com> wrote: > So have you already done unsafe assassination ? > > On 31 October 2015 at 08:37, sai krishnam raju potturi < > pskraj...@gmail.com> wrote: > >> it's dead; and we had t

Re: Re : will Unsafeassaniate a dead node maintain the replication factor

2015-10-31 Thread sai krishnam raju potturi
yes Surbhi. On Sat, Oct 31, 2015 at 1:13 PM, Surbhi Gupta <surbhi.gupt...@gmail.com> wrote: > Is the cluster using vnodes? > > Sent from my iPhone > > On Oct 31, 2015, at 9:16 AM, sai krishnam raju potturi < > pskraj...@gmail.com> wrote: > > yes Surbhi.

Re : Data restore to a new cluster

2015-10-26 Thread sai krishnam raju potturi
hi; we are working on a data backup and restore procedure to a new cluster. We are following the datastax documentation. It mentions a step "Restore the SSTable files snapshotted from the old cluster onto the new cluster using the same directories"

Re: Re : Replication factor for system_auth keyspace

2015-10-16 Thread sai krishnam raju potturi
ental repair. That it > takes so long for such a small keyspace leads me to believe you're using > sequential repair ... > > -V > > On Thu, Oct 15, 2015 at 7:46 PM, Robert Coli <rc...@eventbrite.com> wrote: > >> On Thu, Oct 15, 2015 at 10:24 AM, sai krishnam raju pott

Re : Replication factor for system_auth keyspace

2015-10-15 Thread sai krishnam raju potturi
hi; we are deploying a new cluster with 2 datacenters, 48 nodes in each DC. For the system_auth keyspace, what should be the ideal replication_factor set? We tried setting the replication factor equal to the number of nodes in a datacenter, and the repair for the system_auth keyspace took

Re: Re : Nodetool Cleanup on multiple nodes in parallel

2015-10-09 Thread sai krishnam raju potturi
re running a proper snitch you could probably do an entire rack / > AZ at a time. > > > On Thu, Oct 8, 2015 at 3:08 PM sai krishnam raju potturi < > pskraj...@gmail.com> wrote: > >> We plan to do it during non-peak hours when customer traffic is less. >> That sums up

Re: CQL error when adding multiple conditional update statements in the same batch

2015-10-08 Thread sai krishnam raju potturi
could you also provide the columnfamily schema. On Thu, Oct 8, 2015 at 4:13 PM, Peddi, Praveen wrote: > Hi, > > I am trying to understand this error message that CQL is throwing when I > try to update 2 different rows with different values on same conditional > columns.

Re: Re : Nodetool Cleanup on multiple nodes in parallel

2015-10-08 Thread sai krishnam raju potturi
day. Diverting traffic away from a DC just to run cleanup feels > like overkill to me. > > > > On Thu, Oct 8, 2015 at 2:39 PM sai krishnam raju potturi < > pskraj...@gmail.com> wrote: > >> hi; >>our cassandra cluster currently uses DSE 4.6. The underlying

Re : Nodetool Cleanup on multiple nodes in parallel

2015-10-08 Thread sai krishnam raju potturi
hi; our cassandra cluster currently uses DSE 4.6. The underlying cassandra version is 2.0.14. We are planning on adding multiple nodes to one of our datacenters. This requires "nodetool cleanup". The "nodetool cleanup" operation takes around 45 mins for each node. Datastax documentation

Re: Node won't go away

2015-10-08 Thread sai krishnam raju potturi
the below solution should work. For each node in the cluster : a : Stop cassandra service on the node. b : manually delete data under $data_directory/system/peers/ directory. c : In cassandra-env.sh file, add the line JVM_OPTS="$JVM_OPTS -Dcassandra.load_ring_state=false". d : Restart

Re : List users getting stuck and not returning results

2015-10-02 Thread sai krishnam raju potturi
We have 2 clusters running DSE. On one of the clusters we recently added additional nodes to a datacenter. On the cluster where we added nodes, we are getting authentication issues from client. We are also unable to "list users" on system_auth keyspace. It's getting stuck.

Re: High read latency

2015-09-25 Thread sai krishnam raju potturi
a key value pair, and 40ms latency may have been a concern. Bottom Line : The latency depends on how wide the row is. On Tue, Sep 22, 2015 at 1:27 PM, sai krishnam raju potturi < pskraj...@gmail.com> wrote: > thanks for the information. Posting the query too would be of help. > > On Tu

Re: High read latency

2015-09-22 Thread sai krishnam raju potturi
thanks for the information. Posting the query too would be of help. On Tue, Sep 22, 2015 at 11:56 AM, Jaydeep Chovatia < chovatia.jayd...@gmail.com> wrote: > Please find required details here: > > - Number of req/s > > 2k reads/s > > - Schema details > > create table test { > >

Fwd: Re : Restoring nodes in a new datacenter, from snapshots in an existing datacenter

2015-08-28 Thread sai krishnam raju potturi
hi; We have cassandra cluster with Vnodes spanning across 3 data centers. We take backup of the snapshots from one datacenter. In a doomsday scenario, we want to restore a downed datacenter, with snapshots from another datacenter. We have same number of nodes in each datacenter. 1 : We

Re: Re : Restoring nodes in a new datacenter, from snapshots in an existing datacenter

2015-08-28 Thread sai krishnam raju potturi
environment. On Fri, Aug 28, 2015 at 1:12 PM, sai krishnam raju potturi pskraj...@gmail.com wrote: hi; We have cassandra cluster with Vnodes spanning across 3 data centers. We take backup of the snapshots from one datacenter. In a doomsday scenario, we want to restore a downed datacenter

Re : Decommissioned node appears in logs, and is sometimes marked as UNREACHEABLE in `nodetool describecluster`

2015-08-28 Thread sai krishnam raju potturi
hi; we decommissioned nodes in a datacenter a while back. Those nodes keep showing up in the logs, and also sometimes marked as UNREACHABLE when `nodetool describecluster` is run. However these nodes do not show up in `nodetool status` and `nodetool ring`. Below are a couple lines