【问题标题】:Why does installing Cassandra on Mesos via dcos package fail with "Max retries exceeded with url: /marathon/v2/info"?为什么通过 dcos 包在 Mesos 上安装 Cassandra 失败并显示“Max retries exceeded with url: /marathon/v2/info”?
【发布时间】:2015-11-19 18:49:20
【问题描述】:

我正在尝试使用 dcos package install cassandra 在 Mesos 上安装 Cassandra,但收到以下错误消息:

The Apache Cassandra DCOS Service implementation is alpha and there may be bugs, incomplete features, incorrect documentation or other discrepancies.
The default configuration requires 3 nodes each with 0.3 CPU shares, 1184MB of memory and 272MB of disk.
Continue installing? [yes/no] yes
Installing Marathon app for package [cassandra] version [0.2.0-1]
URL [http://localhost/marathon/v2/info] is unreachable: HTTPConnectionPool(host='localhost', port=80): Max retries exceeded with url: /marathon/v2/info (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x31aea10>: Failed to establish a new connection: [Errno 111] Connection refused',))

谁能解释一下为什么以及如何解决它?

【问题讨论】:

  • 这意味着您的 Marathon 框架在 localhost:80 上无法访问。你确定它真的在运行吗?

标签: cassandra mesos


【解决方案1】:

DCOS CLI 旨在用于管理 Mesosphere 的 DCOS 实例。 DCOS 是建立在 Mesos 之上的软件堆栈。您不能使用 DCOS CLI 来管理不在 DCOS 上运行的 Marathon 安装。

解决此问题的方法是使用 DCOS,这将允许您使用 DCOS CLI 安装 Cassandra,或者尝试自己在 Marathon 上运行 Cassandra。

如果您选择使用 DCOS,您可以从the Mesosphere website 开始使用免费的社区版。

如果您想尝试在 Marathon 上运行 Cassandra,Marcin Brański's blog 上提供了一些有用且详细的说明(此处不再复制,因为它们相当冗长)。

【讨论】:

    猜你喜欢
    • 2021-02-21
    • 2022-11-07
    • 2016-07-11
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-04-17
    • 1970-01-01
    • 2017-06-17
    相关资源
    最近更新 更多