我遵循了这里的指示https://github.com/datastax/spark-cassandra-connector/blob/master/doc/11_metrics.md 从cassandra连接器发出度量。我可以看到指标,但所有的时间都是零。我试过2.3.1和2.4.0版本。我看到其他Spark驱动器指标发射正确。
我确保metrics.properties中的值是正确的。
executor.source.cassandra-connector.class=org.apache.spark.metrics.CassandraConnectorSource driver.source.cassandra-connector.class=org.apache.spark.metrics.CassandraConnectorSource
我在spark上下文中启用了以下道具。 spark.cassandra.input.metrics and spark.cassandra.output.metrics
控制台接收器输出示例
-- Meters ----------------------------------------------------------------------
allspark.v1.driver.cassandra-connector.read-byte-meter
count = 0
mean rate = 0.00 events/second
1-minute rate = 0.00 events/second
5-minute rate = 0.00 events/second
15-minute rate = 0.00 events/second
allspark.v1.driver.cassandra-connector.read-row-meter
count = 0
mean rate = 0.00 events/second
1-minute rate = 0.00 events/second
5-minute rate = 0.00 events/second
15-minute rate = 0.00 events/second
allspark.v1.driver.cassandra-connector.write-byte-meter
count = 0
mean rate = 0.00 events/second
1-minute rate = 0.00 events/second
5-minute rate = 0.00 events/second
15-minute rate = 0.00 events/second
allspark.v1.driver.cassandra-connector.write-row-meter
count = 0
mean rate = 0.00 events/second
1-minute rate = 0.00 events/second
5-minute rate = 0.00 events/second
15-minute rate = 0.00 events/second
有人能帮我解释一下为什么所有Cassandra连接器相关的 Jmeter 、计数器等都是零吗?
暂无答案!
目前还没有任何答案,快来回答吧!