无法运行Cassandra压力
当运行cassandra压力命令时,我得到了以下错误 /卡桑德拉压力用户 profile=/home/cass/apache-cassandra-3.11.2/tools/stress\u test.yaml 持续时间=1m“操作(插入=1,最新事件=1,事件=1)” 我收到以下错误/警告: 警告18:28:41488您在列表中列出了localhost/0:0:0:0:0:0:0:1:9042 联系人,但在控制主机的system.peers中找不到 启动时 已连接到群集:测试群集,每个群集的最大挂起请求数 连接128,每个主机最多连接8个 Datatacenter:datacenter1;主机:localhost/127.0.0.1;机架:机架1 生成具有[1..50]个分区和[0..50]行(共行)的批 [1..50]分区中的总行数) 睡觉2秒 正在使用0次迭代预热插入。。。正在使用0预热最新的\u事件 迭代 java.lang.IllegalArgumentException:未使用名称定义查询 最新活动 位于org.apache.cassandra.stress.StressProfile.getQuery(StressProfile.java:362) 位于org.apache.cassandra.stress.settings.SettingsCommandUser$1.get(SettingsCommandUser.java:93) 位于org.apache.cassandra.stress.settings.SettingsCommandUser$1.get(SettingsCommandUser.java:82) 位于org.apache.cassandra.stress.operations.SampledOpDistributionFactory$1.get(SampledOpDistributionFactory.java:83) 位于org.apache.cassandra.stress.StressAction$Consumer.(StressAction.java:409) 位于org.apache.cassandra.stress.StressAction.run(StressAction.java:233) 位于org.apache.cassandra.stress.StressAction.warmup(StressAction.java:121) 位于org.apache.cassandra.stress.StressAction.run(StressAction.java:70) 位于org.apache.cassandra.stress.stress.run(stress.java:143) 位于org.apache.cassandra.stress.stress.main(stress.java:62) 下面是我的stress_test.yaml文件的外观: 键空间:hss\u cass\u 2 表:设备状态 插入:分区:统一(1..50) 批处理类型:已记录 选择:统一(1..10)/10无法运行Cassandra压力,cassandra,cassandra-3.0,cassandra-stress,Cassandra,Cassandra 3.0,Cassandra Stress,当运行cassandra压力命令时,我得到了以下错误 /卡桑德拉压力用户 profile=/home/cass/apache-cassandra-3.11.2/tools/stress\u test.yaml 持续时间=1m“操作(插入=1,最新事件=1,事件=1)” 我收到以下错误/警告: 警告18:28:41488您在列表中列出了localhost/0:0:0:0:0:0:0:1:9042 联系人,但在控制主机的system.peers中找不到 启动时 已连接到群集:测试群集,每个群集的最大
查询: simple1:cql:从设备状态中选择*,其中设备id=? 和eq_状态=?限制100个字段:samerow 范围1:cql:从设备状态中选择*,其中设备id=?和 eq_状态=?和设备_id_type=?限制100个字段:多行 此外,数据中心的名称是dc1,但从错误日志中我发现数据中心:datacenter1是给定的。这可能是一个错误,但我不知道
Apache Cassandra 3.11.2。RHEL 6.5您的命令行中有一个错误-您指定了
ops(insert=1,latest_event=1,events=1)
,但是您没有名称为latest\u event
&events
-对于每个文件,您只有simple1
&range1
-您需要在ops
命令中指定它们
以下博文可以提供有关如何使用它的更多信息:,以及instaclustr:,&.的本系列。您的命令行中有一个错误-您指定了
ops(insert=1,latest_event=1,events=1)
,但是您没有名称为latest\u event
&events
-对于每个文件,您只有simple1
&range1
-您需要在ops
命令中指定它们
以下博客文章可以提供有关如何使用它的更多信息:,以及instaclustr的本系列文章:,&