2016-08-13 67 views
1

我最近跑了;我跑步了什麼?

sudo nodetool describecluster 

並得到以下輸出;

飛賊:org.apache.cassandra.locator.DynamicEndpointSnitch

這讓我感到困惑,因爲在我的每一個節點的cassandra.yaml,我有以下幾點;

endpoint_snitch: GossipingPropertyFileSnitch 

其實 - 我甚至不能看到

DynamicEndpointSnitch

作爲cassandra.yaml文件的有效選項。

兩者是一回事嗎? 我只是誤解了nodetool的輸出?

一如既往 - 謝謝! -Gavin。

回答

1

Cassandra的動態snitching功能用dynamicEndpointSnitch封裝了cassandra.yaml文件中指定的snitch。該snitch通過延遲使用適配的phi故障檢測器對端點進行排序,從而爲選擇讀取性能最高的節點提供了一種方法。

+0

太棒了 - 謝謝! –