问题标签 [scylla]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
2 回答
56 浏览

nosql - Scylla certifications for admin/architects/developer

First, Thanks for Scylla university. While I am exploring Scylla university did not find any certifications courses for admin/developer and architects. Please help me if there

0 投票
2 回答
1277 浏览

database - Cassandra:如何在没有受 EQ 或 IN 限制的 PRIMARY KEY 的情况下使用“ORDER BY”?

我在 Scylla(兼容 Cassandra 的数据库)中有一个表,定义如下:

我想运行一个查询,在一定时间后获取所有项目,类似于以下内容:

但有人告诉我,ORDER BY is only supported when the partition key is restricted by an EQ or an IN.要解决这个问题,我可以制作一个类似于以下内容的表格和查询:

虽然这可行,但它似乎不是最好的解决方案。由于我对 Scylla 和 CQL 还很陌生,有没有更好/正确的方法来做到这一点?

0 投票
1 回答
203 浏览

database - JBOD 关于 cassandra 问题

我有带有 JBOD 配置的 3 节点 cassandra 集群。我有 4 个磁盘用于数据 /data1、/data2、/data3、/data4。现在,我们经常面临节点磁盘空间问题。当前 /data1 已满 (100%),其他磁盘 /data2(26%)、/data3(34%)、data4(17%) 在节点 1 上使用,其他节点在所有磁盘上都有足够的空间。

1)所以,我的问题是,如果有任何请求会出现在 cassandra 集群上并且数据会转到 node1 上的 /data1 会发生什么?请求失败了吗?或者 cassandra 将管理并写入另一个有空间的磁盘?

2) JBOD 在 cassandra 中除了磁盘灾难恢复有用吗?

提前致谢!

0 投票
1 回答
1309 浏览

node.js - Docker - Windows 上容器的 IP 地址

任务如下:编写将与 ScyllaDB 一起使用的 node.js 服务器,该服务器将放置在 Docker 容器上。我早些时候这样做了,但是在 Ubuntu 上,它工作正常,现在我应该在 Windows 10 上这样做。

我安装了 Docker Toolbox for Windows 并运行来自 scylladb 文档的命令。

在我的 Node.js 服务器上之后,我可以设置连接:

正如我所说,它在具有此 IP 的 Ubuntu 上工作正常 - 127.0.0.1,BeaverDB(GUI)默认使用 9042 端口连接到此 IP,但在 Windows 上它不起作用。现在不可能在 Ubuntu 上工作。

抱歉这个问题很糟糕,也许还有一些信息,但我是新手,根本不知道我到底需要说什么

0 投票
1 回答
359 浏览

scylla - 从具有二级索引的表中删除列时出错 (Scylladb)

从包含二级索引的表中删除列时,出现以下错误。我正在使用 ScyllaDB 3.0.4 版。

[无效查询] message="Cannot drop column name on base table warehouse.myuser with materialized views"

以下是示例命令

我可以在 Apache Cassandra 中成功运行上述语句。

0 投票
1 回答
587 浏览

cassandra - Scylla 登录 CentOS 和 RedHat

我们已经在 redhat linux 上安装了开源 scylla。安装后检查日志但找不到 system.log 文件。在 cassandra 中有一个名为 system.log 的文件,其中存储了所有日志。但在 scylla 中我看不到任何日志文件。但是我已经在 logback.xml 中配置了路径。

请帮忙。

0 投票
1 回答
176 浏览

cassandra - Scylla,datastax-java-driver集成问题

我有三个节点的 syclla 集群。我有具有 3 个复制因子的键空间。我使用 datastax-java-driver 3.6.0 版本和 Scylla 3.0.0 版本。当我尝试读取一致性级别 = LOCAL_QUORUM 的数据时,我收到以下错误消息,我认为这是不可能的。至于如果我使用 LOCAL_QUORUM 2 个节点就足够了 3 个复制因子。

是错误还是我错过了什么?

com.datastax.driver.core.exceptions.ReadTimeoutException:Cassandra 在一致性读取查询期间超时 LOCAL_QUORUM(需要 3 个响应,但只有 2 个副本响应) LOCAL_QUORUM(需要 3 个响应,但只有 2 个副本响应)

0 投票
1 回答
613 浏览

kubernetes - 我如何在 GKE 中私下转发 cqlsh 的连接

因此,我试图通过打开与 Kubectl 的连接来使用 cqlsh 连接到 GKE 中的我的 scylla 实例。然而,我遇到了一些我无法理解的奇怪问题。

我在 GKE 上运行 scylla,它基本上是一个 cassandra 仿冒品,应该比 cassandra 本身运行得更快。要访问 scylla,我希望能够使用 kubectl port-forward 命令连接到数据库,这样我就可以连接外部工具,例如 table plus。当我运行时,kubectl port-forward pod/scylla-0 -n scylla 9042我希望可以从本地计算机访问该端口,但是,当我尝试与 cqlsh localy 连接时,我收到以下错误消息:

我也尝试将服务直接转发到类似的结果

我个人认为这其中最奇怪的部分是,当我使用负载均衡器公开 scylla 时,我可以很好地连接到它,当我为 scylla 转发 JMX 端口时,我也可以使用 JConsole,这就是为什么我有这么多对此感到头疼。

0 投票
2 回答
176 浏览

docker - Docker 上的 Cassandra/Scylla 没有在 linux 服务器中连接互联网

我已经在 redhat/centos 服务器上安装了 docker。docker 服务运行良好,但我如何在 docker 上安装或构建 cassandra/scylla 映像。我的服务器没有与互联网连接,因此在构建 cassandra/scylla 图像或运行时出现错误“无法找到图像”并出现超时异常。

谁能帮助如何在没有互联网的情况下构建 cassandra/Scylla docker 映像?

谢谢。

0 投票
1 回答
56 浏览

scylla - change TokenRange on Scylla

I have a keyspace nba with replication factor 2 (I know, it should be 3 but I cannot change it currently).

My scylla DB is 3 nodes (P1, P2 and P3).

I did nodetool describering nba and saw that each tokenRange is either written on P3 or replicated on P3. Therefore, my node P3 contains every data, is full and cannot run anymore.
(both decribering and the check of the size confirm that)

Is there a way to change that distribution and get a more even one?


EDIT : Yes, I changed my RF from 3 to 2