cassandra 相关问题

Cassandra是一个高度可扩展,最终一致,分布式,结构化的行/列存储。

我正在尝试在Amazon Linux 3上安装Cassandra 4.1.8,并且由于以下错误而失败。

yum install cassandra Apache Cassandra 9.5 kB/s | 3.0 kB 00:00 Error: Problem: conflicting requests - nothing provides java-1.8.0-headless needed by cassandra-4.1.8-1.noarch from cassandra (try to add '--skip-broken' to skip uninstallable packages) yum --showduplicates search java-1.8 Last metadata expiration check: 0:00:15 ago on Tue Mar 18 16:47:55 2025. ================================================================================================================== Name Matched: java-1.8 =================================================================================================================== java-1.8.0-amazon-corretto-1:1.8.0_362.b08-1.amzn2023.x86_64 : Amazon Corretto runtime environment java-1.8.0-amazon-corretto-1:1.8.0_372.b07-1.amzn2023.x86_64 : Amazon Corretto runtime environment java-1.8.0-amazon-corretto-1:1.8.0_382.b05-1.amzn2023.x86_64 : Amazon Corretto runtime environment java-1.8.0-amazon-corretto-1:1.8.0_392.b08-1.amzn2023.x86_64 : Amazon Corretto runtime environment java-1.8.0-amazon-corretto-1:1.8.0_402.b06-1.amzn2023.x86_64 : Amazon Corretto runtime environment java-1.8.0-amazon-corretto-1:1.8.0_402.b08-1.amzn2023.x86_64 : Amazon Corretto runtime environment java-1.8.0-amazon-corretto-1:1.8.0_412.b08-1.amzn2023.x86_64 : Amazon Corretto runtime environment java-1.8.0-amazon-corretto-devel-1:1.8.0_362.b08-1.amzn2023.x86_64 : Amazon Corretto development environment java-1.8.0-amazon-corretto-devel-1:1.8.0_372.b07-1.amzn2023.x86_64 : Amazon Corretto development environment java-1.8.0-amazon-corretto-devel-1:1.8.0_382.b05-1.amzn2023.x86_64 : Amazon Corretto development environment java-1.8.0-amazon-corretto-devel-1:1.8.0_392.b08-1.amzn2023.x86_64 : Amazon Corretto development environment java-1.8.0-amazon-corretto-devel-1:1.8.0_402.b06-1.amzn2023.x86_64 : Amazon Corretto development environment java-1.8.0-amazon-corretto-devel-1:1.8.0_402.b08-1.amzn2023.x86_64 : Amazon Corretto development environment java-1.8.0-amazon-corretto-devel-1:1.8.0_412.b08-1.amzn2023.x86_64 : Amazon Corretto development environment java -version openjdk version "1.8.0_412" OpenJDK Runtime Environment Corretto-8.412.08.1 (build 1.8.0_412-b08) OpenJDK 64-Bit Server VM Corretto-8.412.08.1 (build 25.412-b08, mixed mode) rpm -qa |grep -i java javapackages-filesystem-6.0.0-7.amzn2023.0.6.noarch java-1.8.0-amazon-corretto-1.8.0_412.b08-1.amzn2023.x86_64

回答 1 投票 0

回答 1 投票 0

在批量加载数据后不可用查询表,mmappedrigions.java返回assertionError

任何时间我加载大量数据,最终我都无法查询正在加载的表。我的CQLSH打印:

回答 1 投票 0

设置资源限制时杀死POD

minicube (with 2000M, 4Gi config)

回答 1 投票 0


问题设置了Cassandra,以运行Xunit测试。 我有一些C#Xunit测试,需要一个Cassandra数据库来遇到。我在Mac OS上使用了Brew,使用Command Brew Install Cassandra在本地安装了Cassandra。安装后...

使用Brew在本地安装了Cassandra。安装后,我观察到测试已经通过,一切都还好。但是,我在一天结束时关闭,第二天我启动计算机时,没有任何需要Cassandra的测试正在工作。

回答 0 投票 0

我最近使用Ubuntu升级将我的Ubuntu从22.04升级到24.04,现在我尝试了

Traceback (most recent call last): File "/usr/bin/cqlsh.py", line 158, in <module> from cqlshlib.serverversion import version as build_version ModuleNotFoundError: No module named 'cqlshlib.serverversion' a@a:~$ find /usr/lib/ -name cqlshlib

回答 0 投票 0

回答 1 投票 0

CQL-在SELECT语句中组合两个字段

在我的Cassandra(columnfamily)表中,我有一个字段“ Message1”和一个字段“ Message2”。我想选择Message1 + Space + Message2是一定值的所有记录。 我如何concat或m ...

回答 3 投票 0


在Amazon Linux 2 gpg密钥问题

OS -Amazon Linux 2 最近

回答 0 投票 0


Cassandra-typeError:“ value”参数不超出界限

我经常遵循错误。有什么想法吗? TypeError:“ value”参数超出范围 在Checkint(Buffer.js:1041:11) 在buffer.writeint32be(buffer.js:1244:5) 在

回答 2 投票 0

可以使用cassandracsharpdriver从EC2托管C#应用程序连接到Amazon Keyspaces,但可以从我的Dev Machine连接 我正在尝试通过EC2 Windows实例连接到Amazon Keyspaces,但我可以通过绝对相同的琐碎控制台应用程序成功地连接到它: 使用系统...

using System; using Cassandra; using System.Net.Security; using System.Security.Cryptography.X509Certificates; namespace cassandraconnectiotest; internal class Program { static void Main(string[] args) { try { var amazoncert = new X509Certificate2("AmazonRootCA1.der"); // I obtained AmazonRootCA1.der by executing: // curl https://www.amazontrust.com/repository/AmazonRootCA1.pem -o AmazonRootCA1.pem // openssl x509 -outform der -in AmazonRootCA1.pem -out AmazonRootCA1.der var sslOptions = new SSLOptions(System.Security.Authentication.SslProtocols.Tls13, false, null) //it will NOT work with simple new SSLOptions() for some reason // and will return Cassandra.NoHostAvailableException: All hosts tried for query failed (tried 3.12.23.190:9142: IOException 'Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host..') .SetCertificateCollection(new X509Certificate2Collection { amazoncert }) .SetRemoteCertValidationCallback((sender, cert, chain, sslPolicyErrors) => { Console.WriteLine(cert.Subject); if (sslPolicyErrors == SslPolicyErrors.None) { Console.WriteLine($"SSL Certificate is valid!"); return true; // Certificate is valid } else { // Log the SSL policy errors Console.WriteLine($"SSL Certificate Error: {sslPolicyErrors}"); // Optionally, log details about the certificate and chain if ((sslPolicyErrors & SslPolicyErrors.RemoteCertificateChainErrors) != 0 && chain != null) { foreach (var chainStatus in chain.ChainStatus) { Console.WriteLine($"Chain Status: {chainStatus.Status} - {chainStatus.StatusInformation}"); } } // Return false to reject the certificate return false; } }); var cluster = Cluster.Builder() .AddContactPoints("cassandra.us-east-2.amazonaws.com") .WithPort(9142) .WithAuthProvider(new PlainTextAuthProvider("cassandra_keyspaces+1-at-NNNNhere", @"xLk35password/2ndpartofit=")) .WithSSL(sslOptions) .Build(); var session = cluster.Connect(); } catch (Exception ex) { Console.WriteLine(ex.ToString()); } } }

回答 1 投票 0

用户可以更改其邮件地址,但它可能不是Cassandra表的主要键的一部分[关闭]

I使用Spring Boot 2.1.x将用户实体存储在Cassandra数据库中。这有效。 Java产生了UUID 邮件地址 盐BCRYPT密码 一些用户定义的类型... 如果有人使用lo ...

回答 0 投票 0






最新问题
© www.soinside.com 2019 - 2025. All rights reserved.