opscenter 6.0 - 添加现有群集协议错误

时间:2016-07-05 15:14:10

标签: cassandra datastax opscenter

我在AWS上安装了DSE 5.0并配置了4个节点集群。现在我正在尝试安装DataStax Opscenter 6.0以连接到此群集。使用Spark UI页面可以访问和验证工作集群。

在尝试配置opscenter(安装在同一网络中的其他RHEL机器上)时,我收到了奇怪的协议错误 - 我无法将现有群集添加到opscenter。

2016-07-05 15:47:07+0100 []  WARN: [control connection] Error connecting to 10.20.21.60: Unexpected response during Connection setup: ProtocolError('Server protocol version (4) does not match the specified driver protocol version (2). Consider setting Cluster.protocol_version to 4.',)
2016-07-05 15:47:07+0100 [] ERROR: Control connection failed to connect, shutting down Cluster: ('Unable to connect to any servers', {u'10.20.21.60': ProtocolError("Unexpected response during Connection setup: ProtocolError('Server protocol version (4) does not match the specified driver protocol version (2). Consider setting Cluster.protocol_version to 4.',)",)})
2016-07-05 15:47:07+0100 []  INFO: Starting factory <cassandra.io.twistedreactor.TwistedConnectionClientFactory instance at 0x3229f80>
2016-07-05 15:47:07+0100 []  INFO: Stopping factory <cassandra.io.twistedreactor.TwistedConnectionClientFactory instance at 0x3229f80>
2016-07-05 15:47:07+0100 []  WARN: [control connection] Error connecting to 10.20.21.61: Unexpected response during Connection setup: ProtocolError('Server protocol version (4) does not match the specified driver protocol version (2). Consider setting Cluster.protocol_version to 4.',)</B>
2016-07-05 15:47:07+0100 [] ERROR: Control connection failed to connect, shutting down Cluster: ('Unable to connect to any servers', {u'10.20.21.61': ProtocolError("Unexpected response during Connection setup: ProtocolError('Server protocol version (4) does not match the specified driver protocol version (2). Consider setting Cluster.protocol_version to 4.',)",)})
2016-07-05 15:47:07+0100 []  INFO: Starting factory <cassandra.io.twistedreactor.TwistedConnectionClientFactory instance at 0x327f050>
2016-07-05 15:47:07+0100 []  INFO: Stopping factory <cassandra.io.twistedreactor.TwistedConnectionClientFactory instance at 0x327f050>
2016-07-05 15:47:07+0100 []  WARN: [control connection] Error connecting to 10.20.21.62: Unexpected response during Connection setup: ProtocolError('Server protocol version (4) does not match the specified driver protocol version (2). Consider setting Cluster.protocol_version to 4.',)
2016-07-05 15:47:07+0100 [] ERROR: Control connection failed to connect, shutting down Cluster: ('Unable to connect to any servers', {u'10.20.21.62': ProtocolError("Unexpected response during Connection setup: ProtocolError('Server protocol version (4) does not match the specified driver protocol version (2). Consider setting Cluster.protocol_version to 4.',)",)})
2016-07-05 15:47:07+0100 []  INFO: Starting factory <cassandra.io.twistedreactor.TwistedConnectionClientFactory instance at 0x322c440>
2016-07-05 15:47:07+0100 []  INFO: Stopping factory <cassandra.io.twistedreactor.TwistedConnectionClientFactory instance at 0x322c440>
2016-07-05 15:47:07+0100 []  WARN: [control connection] Error connecting to 10.20.21.63: Unexpected response during Connection setup: ProtocolError('Server protocol version (4) does not match the specified driver protocol version (2). Consider setting Cluster.protocol_version to 4.',)
2016-07-05 15:47:07+0100 [] ERROR: Control connection failed to connect, shutting down Cluster: ('Unable to connect to any servers', {u'10.20.21.63': ProtocolError("Unexpected response during Connection setup: ProtocolError('Server protocol version (4) does not match the specified driver protocol version (2). Consider setting Cluster.protocol_version to 4.',)",)})
2016-07-05 15:47:07+0100 []  WARN: ProcessingError while calling CreateClusterConfController: Unable to connect to cluster. Error is: Unable to connect to any seed nodes, tried [u'10.20.21.60', u'10.20.21.61', u'10.20.21.62', u'10.20.21.63']

我已经读过某个地方DSE opscenter在连接apache cassandra 3.0时遇到问题但在我的情况下它的所有Datastax DSE 5.0&amp; DataStax Opscenter 6.0。

任何人都有任何指针或以前的经验来处理opscenter的这个错误? 谢谢你的帮助,提前帮助:)

感谢。

1 个答案:

答案 0 :(得分:1)

直到最近,http://docs.datastax.com/en/opscenter/latest/opsc/install/opscInstallRHEL_t.html的文档列出了“社区”rpm存储库,我们将OpsCenter版本分发到5.2.x.使用OpsCenter 6.0.0,我们已经开始通过“企业”rpm存储库进行分发,以反映我们现在只与DSE兼容(并且不再与Cassandra的非DSE发行版兼容)。

这样做的结果是,如果您按照该页面上的说明操作,则会获得OpsCenter 5.2.latest而不是OpsCenter 6.0.0,这与DSE 5.0不兼容。现在已经更新了说明,如果您从社区切换到企业存储并升级到OpsCenter 6.0.0,您的问题应该得到解决。

编辑:为了完全披露,我应该注意我为DataStax开发OpsCenter工作。