Re: NoHostAvailableException coming up on our server

2016-07-12 Thread Johnny Miller
Abhinav - your getting that as the driver isn’t finding any hosts up for your query. You probably need to check if all the nodes in your cluster are running. See: http://docs.datastax.com/en/drivers/java/3.0/com/datastax/driver/core/exceptions/NoHostAvailableException.html Johnny > On 12 Jul 2

Re: (C)* stable version after 3.5

2016-07-12 Thread Johnny Miller
Hey Varun - yeah, I would stick to 3.0.x for stability reasons unless there is a feature in the later releases you want. You should be able to upgrade directly to 3.0 from 2.1 without going via 2.2 > On 12 Jul 2016, at 15:01, Alain RODRIGUEZ wrote: > > Hi, > > The only "fix" release after 3.5

Re: Questions on LCS behaviour after big BulkLoad cluster bootstrap

2016-07-12 Thread Johnny Miller
Garo, When your loading data in using LCS in a bulk fashion like this, there are a few things you should do. You can disable STCS in L0 (https://issues.apache.org/jira/browse/CASSANDRA-6621 ) with the JVM flag "-Dcassandra.disable_stcs_in_

Re: Trying to find cause of exception

2017-01-02 Thread Johnny Miller
ference.conf <https://github.com/akka/akka-persistence-cassandra/blob/master/src/main/resources/reference.conf>) - things like local-datacenter, replication-strategy, write-consistency, read-consistency (is there a reason its ONE and not LOCAL_ONE) etc. Regards, Johnny -- Johnny Miller Co-F

Re: Best way to recreate a cassandra node with data

2015-11-09 Thread Johnny Miller
John - Why not just just follow the process for replacing a dead node? Why do you need to use the same IP? e.g. JVM_OPTS="$JVM_OPTS -Dcassandra.replace_address=address_of_dead_node http://docs.datastax.com/en/cassandra/1.2/cassandra/operations/ops_replace_node_t.html

Re: Does nodetool cleanup clears tombstones in the CF?

2015-11-09 Thread Johnny Miller
You could also have a look at the JMX forceUserDefinedCompaction call on a specific SSTable > On 5 Nov 2015, at 21:56, K F wrote: > > Thanks Rob, I will look into checksstablegarbage utility. However, I don't > want to run major compaction as that would result in too big of a sstable. > > Reg

Re: How is the coordinator node in LOCAL_QUORUM chosen?

2016-03-30 Thread Johnny Miller
I always explicitly specify the local DC in my apps for the DC aware round robin policy in a multi DC deployment (localDC arg on the constructor) http://docs.datastax.com/en/drivers/nodejs/3.0/module-policies_loadBalancing-DCAwareRoundRobinPolicy.html Maybe just do that if you want to specify it

New Cassandra Luxembourg Meetup

2017-05-05 Thread Johnny Miller
Moein all! I have just started a new Cassandra Luxembourg meetup if people are interested (and why woul you not)! https://www.meetup.com/Cassandra-Luxembourg/ My company will sponsor and schedule some talks etc.. if there is enough demand. So sign up - could be interesting!! Johnny -- --

New Cassandra Luxembourg Meetup

2017-05-05 Thread Johnny Miller
Moein all! I have just started a new Cassandra Luxembourg meetup if people are interested (and why would you not)! https://www.meetup.com/Cassandra-Luxembourg/ My company will sponsor and schedule some talks etc.. if there is enough demand. So si

Re: Running Cassandra on FreeBSD

2017-11-17 Thread Johnny Miller
al error has been detected by the Java Runtime Environment: > # > # SIGSEGV (0xb) at pc=0x0008020cf55d, pid=60352, > tid=0x00018ecf > # > # JRE version: OpenJDK Runtime Environment (8.0_144-b01) (build > 1.8.0_144-b01) > # Java VM: OpenJDK 64-Bit Server VM (25.14

Re: EC2 - Performace Question

2014-09-01 Thread Johnny Miller
Try turning on query tracing to see what's taking lots of time. > On 1 Sep 2014, at 23:54, "Laing, Michael" wrote: > > Is there a reason why updating a counter for this information will not work > for you? > >> On Monday, September 1, 2014, eduardo.cusa >> wrote: >> yes, is the same table, m

Re: OpsCenter_rollups*

2014-09-01 Thread Johnny Miller
@Rob - You can have OpsCenter not write to the cluster it's monitoring: http://www.datastax.com/dev/blog/storing-opscenter-data-in-a-separate-cluster. OpsCenter has supported this for sometime. On 26 Aug 2014, at 12:07, Mark Reddy wrote: >> Why is there so much OpsCenter work happening? > > O

Re: query tracing

2014-11-10 Thread Johnny Miller
Be cautious enabling query tracing. Great tool for dev/testing/diagnosing etc.. - but it does persist data to the system_traces keyspace with a TTL of 24 hours and will, as a consequence, consume resources. http://www.datastax.com/dev/blog/advanced-request-tracing-in-cassandra-1-2

Re: Cassandra mad GC

2014-01-14 Thread Johnny Miller
Have you followed the recommended prod settings and installed JNA, Oracle JDK etc..? http://www.datastax.com/documentation/cassandra/2.0/webhelp/index.html#cassandra/install/installRecommendSettings.html On 14 Jan 2014, at 13:16, Dimetrio wrote: > Hi all. > I have many GC freezes on my cassan

Re: Gossip intermittently marks node as DOWN

2014-03-04 Thread Johnny Miller
What is nodetool tpstats telling you? On 4 Mar 2014, at 15:10, Phil Luckhurst wrote: > It was created with the default settings so we have 256 per node. > > > Fabrice Facorat wrote >> From what I understand, this can happen when having many nodes and >> vnodes by node. How many vnodes did you

Re: Gossip intermittently marks node as DOWN

2014-03-04 Thread Johnny Miller
That looks healthy - nothing blocked or dropped. On 4 Mar 2014, at 16:12, Phil Luckhurst wrote: > Here's the tpstats output from both nodes. > > > > > > > Johnny Miller wrote >> What is nodetool tpstats telling you? > > > > > > -

Re: Should we use Materialised Views or ditch them ?

2020-03-01 Thread Johnny Miller
I have had some serious issues with MVs in production - I would recommend not using them. On Fri, 28 Feb 2020 at 22:34, Erick Ramirez wrote: > Personally, I think MVs are still experimental and not ready for > primetime. It works for some but if you run into issues, fixing them have a > huge imp

Re: CDC Tools

2020-06-02 Thread Johnny Miller
Dor - that looks very useful. Looking forward to trying the CDC Kafka connector! On Thu, 28 May 2020 at 02:53, Dor Laor wrote: > If it's helpful, IMO, the approach Cassandra needs to take isn't > by tracking the individual node commit log and putting the burden > on the client. At Scylla, we had

Re: Encrypting JMX password for cassandra

2020-08-18 Thread Johnny Miller
Jai, I haven't tried it myself, but you might be able to implement something like this as I believe this is generic to Java. https://stackoverflow.com/questions/1676513/how-to-encrypt-passwords-for-jconsoles-password-file This may allow you to encrypt the JMX password in the file. Would be intere

Re: migrating driver from 3.4 to 4.9

2020-10-27 Thread Johnny Miller
Manu - one thing to make sure your aware of is with the latest driver version (4.9) it’s not just about binary compatibility. There has been a removal of certain core features from the driver which if you are using you may find you’ve more work todo then you expected. The ability to route request

What does the community think of the DataStax 4.x Java driver changes?

2020-10-29 Thread Johnny Miller
y-policy We look after many DataStax / Cassandra clusters and these changes in the latest driver changes have left us scratching our heads. We would be interested in hearing your thoughts on these observations. Thanks, Johnny -- Johnny Miller Co-Founder & CTO https://digitalis.i

Re: What does the community think of the DataStax 4.x Java driver changes?

2020-10-29 Thread Johnny Miller
e > which should give a clear path to fixing some of these API issues as well > as the loss of functionality on a major. > > > On Thu, Oct 29, 2020 at 8:37 AM, Johnny Miller > wrote: > >> Hi Everybody, >> >> >> We wanted to reach out to the community aro

Re: What does the community think of the DataStax 4.x Java driver changes?

2020-12-09 Thread Johnny Miller
cases. >>> >>> Generally, we work with alot of application teams, and most of them are >>> putting off the inevitable of the changes required to implement 4.x. In a >>> reasonably well written moderately complex app, it took one of our best >>> develo

Re: What does the community think of the DataStax 4.x Java driver changes?

2021-01-19 Thread Johnny Miller
of driver 4.) >> >> 2) Downgrading retries: >> >> https://github.com/datastax/java-driver/blob/4.x/examples/src/main/java/com/datastax/oss/driver/examples/retry/DowngradingRetry.java >> >> Still on the cross-DC failover topic, we also published a white paper >&

Re: Cassandra on ZFS: disable compression?

2021-02-10 Thread Johnny Miller
I have done this several times i.e disabling compression at the table level. Never had any issues. On Wed, 27 Jan 2021 at 01:37, Elliott Sims wrote: > The main downside I see is that you're hitting a less-tested codepath. I > think very few installations have compression disabled today. > > On

Re: Use NetworkTopologyStrategy for single data center and add data centers later

2021-02-10 Thread Johnny Miller
Never, ever use SimpleStrategy in production - that's my golden rule. It's extremely limiting if you do and a pain to change your mind later. On Thu, 28 Jan 2021 at 02:00, Carl Mueller wrote: > Yes, perform that as soon as possible. > > When you add a new datacenter, keyspaces that are SimpleStr

Re: Setting DC in different geographical location

2021-02-10 Thread Johnny Miller
Ashish, *> So, with this speed, is it possible in cassandra to perform asynchronous write in new DC(India)? * Nope, however your consistency level choice on writes is the main control for this. You write to the local DC with LOCAL_* consistency would make the acks on write to the remote DC not ne