2

我使用默认配置在 AWS 上创建了 DCOS 设置

我使用 CLI 添加了两个 kafka 代理

(DCOS) PS C:\DCOS> dcos kafka broker list
brokers:
  id: 1
  active: false
  state: stopped
  resources: cpus:2.00, mem:8192, heap:1024, port:auto
  failover: delay:1m, max-delay:10m
  stickiness: period:10m, expires:2016-03-22 15:58:51-04

当我开始经纪人时,我看到主人的报价被拒绝了

I0322 20:56:38.954476  1316 master.cpp:5350] Sending 2 offers to framework d8c03032-ebab-4c88-80cb-e2de92e3c4c4-0001 (kafka) at scheduler-fff6da19-e31e-4518-864e-2dfcdc31a5d2@10.0.3.104:53766
I0322 20:56:38.966846  1320 master.cpp:3673] Processing DECLINE call for offers: [ d8c03032-ebab-4c88-80cb-e2de92e3c4c4-O7389 ] for framework d8c03032-ebab-4c88-80cb-e2de92e3c4c4-0001 (kafka) at scheduler-fff6da19-e31e-4518-864e-2dfcdc31a5d2@10.0.3.104:53766
I0322 20:56:38.967591  1319 master.cpp:3673] Processing DECLINE call for offers: [ d8c03032-ebab-4c88-80cb-e2de92e3c4c4-O7390 ] for framework d8c03032-ebab-4c88-80cb-e2de92e3c4c4-0001 (kafka) at scheduler-fff6da19-e31e-4518-864e-2dfcdc31a5d2@10.0.3.104:53766
I0322 20:56:40.043771  1318 http.cpp:512] HTTP GET for /master/state-summary from 10.0.6.116:60000 with User-Agent='python-requests/2.6.0 CPython/3.4.2 Linux/4.1.7-coreos-r1'

我无法在从站上找到任何相关日志以查看发生了什么。/var/log/mesos 有一些没有相关信息的文件。根据文档,我应该在 /var/log/messages 中看到系统日志,但我没有看到该文件。默认配置提供 CoreOS。我尝试了 journalctl命令,但也没有找到任何东西。不知道如何调试这个。

4

0 回答 0