Mentioned @cassandra
Mentioned @cassandra
commented Pull Request #2552 on apache/cassandra
Included in another commit/PR and merged. Closing PR.
I have a janusgraph database that uses Cassandra and ElasticSearch. The database is huge and I need a way to traverse through all the vertexes of the janusgraph for specific use case.
I have tried writing a Spark job using the...
I have a janusgraph database that uses Cassandra and ElasticSearch. The database is huge and I need a way to traverse through all the vertexes of the janusgraph for specific use case.
I have tried writing a Spark job using the SparkGraphComputer, but even that times out.
I am trying to check if Spark Cassandra connector can be used to traverse through the data. Is there any way which can be used to get all the vertex ids for Cassandra directly using the janusgraph_ids table or the edgestore table.
Starred a repository apache/cassandra
On my M2, when I try to run cqlsh with Python 3.12, I see this error as well:
File "/Users/aaron.ploetz/local/apache-cassandra-4.1.3/bin/cqlsh.py", line 134, in <module>
from cassandra.cluster import Cluster
File...On my M2, when I try to run cqlsh with Python 3.12, I see this error as well:
File "/Users/aaron.ploetz/local/apache-cassandra-4.1.3/bin/cqlsh.py", line 134, in <module>
from cassandra.cluster import Cluster
File "/Users/aaron.ploetz/local/apache-cassandra-4.1.3/bin/../lib/cassandra-driver-internal-only-3.25.0.zip/cassandra-driver-3.25.0/cassandra/cluster.py", line 33, in <module>
ModuleNotFoundError: No module named 'six.moves'
When I switch back to 3.9.6, I see this:
Connected to Aarons Cluster at 127.0.0.1:9042
[cqlsh 6.1.0 | Cassandra 4.1.3 | CQL spec 3.4.6 | Native protocol v5]
Use HELP for help.
aaron@cqlsh>
Basically, downgrade to Python 3.9 and it should work.
Note: You can also use something like pyenv to manage multiple versions of Python.
opened Pull Request #252 on apache/cassandra-dtest
#252 align native_transport_ssl_test with CASSANDRA-19397
opened Pull Request #3109 on apache/cassandra
#3109 CASSANDRA-18951: Add option for MutualTlsAuthenticator to restrict the certificate age
opened Pull Request #3108 on apache/cassandra
#3108 CASSANDRA-19405: (Accord) When C* is saving the cache state we can check if we can evict which promotes from Saving to Loaded, allowing removal before the save completes
Cassandra's cqlsh is not running. When I am running cqlsh, I am getting the following error in the terminal. It was working before! It's weird that it was working till yesterday. Note that I'm able to start Cassandra...
Cassandra's cqlsh is not running. When I am running cqlsh, I am getting the following error in the terminal. It was working before! It's weird that it was working till yesterday. Note that I'm able to start Cassandra server with ./bin/cassandra command.
My Cassandra version: 4.1.3 My OS: macOS Sonoma (Silicon)
Traceback (most recent call last):
File "/Users/senthilnayagan/Developer/Infra/apache-cassandra-4.1.3/bin/cqlsh.py", line 134, in <module>
from cassandra.cluster import Cluster
File "/Users/senthilnayagan/Developer/Infra/apache-cassandra-4.1.3/bin/../lib/cassandra-driver-internal-only-3.25.0.zip/cassandra-driver-3.25.0/cassandra/cluster.py", line 33, in <module>
ModuleNotFoundError: No module named 'six.moves'
Also, I tried running cqlsh with multiple versions of Cassandra (4.1.3 and 4.1.4), but I'm still getting the same error below. Any help would be greatly appreciated!
cqlsh connection shows below error for couple of machine, but it is successful in other machines in cluster. Bad nodes were removed out of cluster, system_auth replication is 5 for both dc's with NetworkTopologyStrategy. Anything I'm missing to...
cqlsh connection shows below error for couple of machine, but it is successful in other machines in cluster. Bad nodes were removed out of cluster, system_auth replication is 5 for both dc's with NetworkTopologyStrategy. Anything I'm missing to check here ?
Connection error: ('Unable to connect to any servers', {'0.0.0.0': AuthenticationFailed('Failed to authenticate to 0.0.0.0: Error from server: code=0100 [Bad credentials] message="Unable to perform authentication: Operation timed out - received only 0 responses."',)})
./cqlsh --debug --ssl
Using CQL driver: <module 'cassandra' from '/usr/local/akamai/dart_apache_cassandra/bin/../lib/cassandra-driver-internal-only-3.11.0-bb96859b.zip/cassandra-driver-3.11.0-bb96859b/cassandra/__init__.py'>
Using connect timeout: 5 seconds
Using 'utf-8' encoding
Using ssl: True
Connection error: ('Unable to connect to any servers', {'0.0.0.0': AuthenticationFailed('Failed to authenticate to 0.0.0.0: Error from server: code=0100 [Bad credentials] message="Unable to perform authentication: Operation timed out - received only 0 responses."',)})
1.These nodes consistently produce this error when attempting to connect via cqlsh? 2. Output of nodetool status look normal 3. System log show below errors, all nodes are in UN status, describecluster show all nodes are in one schema version
WARN [OptionalTasks:1] 2024-02-15 14:48:59,872 CassandraRoleManager.java:379 - CassandraRoleManager skipped default role setup: some nodes were not ready
INFO [OptionalTasks:1] 2024-02-15 14:48:59,872 CassandraRoleManager.java:418 - Setup task failed with error, rescheduling
It looks like you're trying to connect to Cassandra on your local machine, on the default port of 9042.
If this is not working, I would check the following:
- Cassandra is indeed running on your local machine (verify with...
It looks like you're trying to connect to Cassandra on your local machine, on the default port of 9042.
If this is not working, I would check the following:
- Cassandra is indeed running on your local machine (verify with
nodetool status). - Either
listen_addressorrpc_addressare bound tolocalhost. The address shown in the output ofnodetool statusis the address that should be used to connect. - You are providing the correct username and password, if
CassandraAuthorizerandPasswordAuthenticatorare being used. - You are providing the correct SSL/TLS certificate if client-to-node SSL is enabled.
- Also, as of Cassandra 4.0, connecting with client-to-node SSL enabled now happens on port 9142, while regular, unencrypted traffic is still on 9042.
commented Pull Request #3102 on apache/cassandra
LGTM. The change doesn't incur performance penalty and should fix the correctness problem. Skipping a very tiny fraction of data is much smaller problem than inserting vastly incorrect data into histogram due to a race.
...
LGTM. The change doesn't incur performance penalty and should fix the correctness problem. Skipping a very tiny fraction of data is much smaller problem than inserting vastly incorrect data into histogram due to a race.
WRT performance. The results of LatencyTrackingBench have a lot of uncertainty, but if anything, they show a possible improvement in update throughput. It makes sense, as the number of volatile reads is reduced to 1 (using decayLandmark is no longer a volatile read)
opened Pull Request #3107 on apache/cassandra
#3107 Fix the duration of speculative read delay
I know that Athena allows you to query data directly from files stored in Amazon S3 using SQL syntax. Athena doesn't have a storage system; instead, it creates a schema and metadata layer on top of the data stored in S3.
I know Hive...
I know that Athena allows you to query data directly from files stored in Amazon S3 using SQL syntax. Athena doesn't have a storage system; instead, it creates a schema and metadata layer on top of the data stored in S3.
I know Hive also does something similar. With Hive, you can define external tables that reference data stored in S3, allowing you to query that data using HiveQL, which is similar to SQL.
Can we do something like this in Cassandra? I want to have my files in S3 and query them using CQL in Cassandra.
Cassandra has a partition key and a clustering key. The file name could be the partition key value and the clustering key should be data inside the file in sorted order.
Is there a way we can achieve such a solution?
opened Pull Request #3106 on apache/cassandra
#3106 CASSANDRA-19401 4.1 draft fix nodetool import
opened Pull Request #3105 on apache/cassandra
#3105 CASSANDRA-19401 4.1 fix nodetool import draft
Mentioned @cassandra