question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

v4.15.44 not compatible with C* 4.0 RC1

See original GitHub issue

Describe the bug

NoSQLBench v4.15.44 cannot establish the control connection with C* 4.0 RC1. Stacktrace below. I believe this is caused by the protocol changes in the new C* version and it will probably require a CQL driver upgrade in NoSQLBench. Specifically, it’s probably being affected by this issue https://datastax-oss.atlassian.net/browse/JAVA-2936, although setting protocol_version=V5 as a command-line param in nb didn’t help.

To Reproduce

  1. Try to run any activity against C* 4.0 RC1.

What was Expected

Successful connection with C* and no startup failures.

Additional context

OS: Linux environment: k8s (GKE) version info: 4.15.44

Stacktrace

Caused by: com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: target-dc2-service/10.232.3.3:9042 (com.datastax.driver.core.exceptions.TransportException: [target-dc2-service/10.232.3.3:9042] Connection has been closed), target-dc2-service/10.232.8.4:9042 (com.datastax.driver.core.exceptions.TransportException: [target-dc2-service/10.232.8.4:9042] Connection has been closed), target-dc2-service/10.232.2.4:9042 (com.datastax.driver.core.exceptions.TransportException: [target-dc2-service/10.232.2.4:9042] Connection has been closed))
	at com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:259)
	at com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:98)
	at com.datastax.driver.core.Cluster$Manager.negotiateProtocolVersionAndConnect(Cluster.java:1926)
	at com.datastax.driver.core.Cluster$Manager.init(Cluster.java:1839)
	at com.datastax.driver.core.Cluster.getMetadata(Cluster.java:475)
	at com.datastax.driver.core.DelegatingCluster.getMetadata(DelegatingCluster.java:88)
	at io.nosqlbench.activitytype.cql.statements.core.CQLSessionCache.createSession(CQLSessionCache.java:324)
	at io.nosqlbench.activitytype.cql.statements.core.CQLSessionCache.lambda$getSession$0(CQLSessionCache.java:58)
	at java.base/java.util.HashMap.computeIfAbsent(HashMap.java:1224)
	at io.nosqlbench.activitytype.cql.statements.core.CQLSessionCache.getSession(CQLSessionCache.java:58)
	at io.nosqlbench.activitytype.cql.core.CqlActivity.getSession(CqlActivity.java:132)
	at io.nosqlbench.activitytype.cql.core.CqlActivity.initActivity(CqlActivity.java:113)
	at io.nosqlbench.engine.core.lifecycle.ActivityExecutor.startActivity(ActivityExecutor.java:117)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:11 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
grighettocommented, May 11, 2021

I have a patch for this issue https://github.com/nosqlbench/nosqlbench/pull/318 The cqld3 module wasn’t properly shaded and it was clashing with the old driver.

With the patch, I can connect to C* 4.0 RC1 with the driver=cqld3 param.

0reactions
jshookcommented, May 12, 2021

Thanks @grighetto ! I’m closing this one.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Pear requires a nightly or dev version of Rust #13 - GitHub
I believe that this package should not have such a strong requirement, as it makes it unusable with released versions of Rust.
Read more >
sys.c - kernel/sys.c - Linux source code (v4.1-rc1 ... - Elixir Bootlin
A program which uses just setgid() will be * 100% compatible with POSIX with saved IDs. * * SMP: There are not races,...
Read more >
python:lit related projects - Repology
Related projects are determined by recursively matching package homepage URLs. Note that this list may be incomplete as Repology may not be able...
Read more >
Aripiprazole versus other atypical antipsychotics for ... - NCBI
When compared with quetiapine, there were no significant differences for global state (n = 991, 12 RCTs, low quality evidence); mental state (PANSS...
Read more >
cham_avr_user_manual_v1-890.pdf - Mouser Electronics
C is much more compatible with all embedded systems and C++ is just asking for trouble especially with the compiler. Figure 1.7 –...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found