mesos - 从 Consul "No Cluster leader"状态恢复

标签 mesos consul

我有:

  • 一个 mesos-master,我在其中配置了 consul 服务器;
  • 一个 mesos-slave,我在其中配置 consul 客户端;
  • 一个用于 consul 的引导服务器。

当我点击开始时,我看到以下错误:

2016/04/21 19:31:31 [ERR] agent: failed to sync remote state: rpc error: No cluster leader 2016/04/21 19:31:44 [ERR] agent: coordinate update error: rpc error: No cluster leader

如何从这种状态恢复?

最佳答案

你看过Consul docs吗? ?

看起来您执行了一次不正常的停止,现在需要通过删除其中的所有条目来清理您的 raft/peers.json 文件以执行中断恢复。请参阅上面的链接了解更多详细信息。

关于mesos - 从 Consul "No Cluster leader"状态恢复,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36772098/

相关文章:

docker - 在 Docker 容器中运行 Spark 驱动程序 - 没有从执行程序到驱动程序的连接?

Mesos 应用程序,为什么不使用 Marathon 来处理所有事情?

scala - 在 Mesos 集群上使用 Spark 时如何预先打包外部库

docker - Docker环境下实现Consul healthcheck

apache-spark - 只能在同一台机器上从 Spark 连接到 Mesos

linux - 制作-j 8 g++ : internal compiler error: Killed (program cc1plus)

docker - 为什么领事健康检查会返回一个空数组?

kubernetes 上的 elasticsearch - 节点发现

ubuntu - 领事 : Health Check is failed to invoke: fork/exec but running manualy

java - 我如何在 Spring-Cloud 中将 ConsulDiscoveryClient 与 Zuul 和 Sidecar 一起使用