【发布时间】:2015-10-31 14:12:21
【问题描述】:
我已经设置了 spark 和 cassandra 集群,并且在我的 spark 作业中使用了 cassandra 连接器。现在要运行我的工作,我使用 spark.cassandra.connection.host 并在一个数据中心传递种子节点的 IP 地址之一。我正在浏览连接器站点及其状态,例如
"The initial contact node given in spark.cassandra.connection.host can be any node of the cluster. The driver will fetch the cluster topology from the contact node and will always try to connect to the closest node in the same data center. If possible, connections are established to the same node the task is running on."
我的查询是如果联系人节点关闭会发生什么。 Spark 将无法获取集群拓扑,因此无法工作。 我还为 cassandra 使用了 nodejs 连接器,我们在那里提供了一系列接触点。是否可以在 spark cassandra 连接器中使用
【问题讨论】: