我怎么能在minimesos中使用marathon启动kafka调度器?

我正在尝试使用docker容器启动kafka-mesos框架调度程序,详见https://github.com/mesos/kafka/tree/master/src/docker#running-image-in-marathon,使用Marathon实现在minimesos(我想添加一个minimesos标签,但没有点)运行。 该应用程序已注册,可以在Marathon控制台中看到,但仍处于等待状态,Deployment GUI表示正在尝试ScaleApplication。

我试过在马拉松和mesos-master容器中寻找/ var / log文件,可能会说明为什么会发生这种情况。 最初我以为它可能是因为图像没有拉,所以我添加了"forcePullImage": true的JSON应用程序configuration,但它仍然等待。 我也把networking从HOST改成了BRIDGE,假设这与http://minimesos.readthedocs.org/en/latest/上的minimesos警告是一致的。

在mesos日志中,我确实看到:
I0106 20:07:15.259790 15 master.cpp:4967] Sending 1 offers to framework 5e1508a8-0024-4626-9e0e-5c063f3c78a9-0000 (marathon) at scheduler-575c233a-8bc3-413f-b070-505fcf138ece@172.17.0.6:39111
I0106 20:07:15.266100 9 master.cpp:3300] Processing DECLINE call for offers: [ 5e1508a8-0024-4626-9e0e-5c063f3c78a9-O77 ] for framework 5e1508a8-0024-4626-9e0e-5c063f3c78a9-0000 (marathon) at scheduler-575c233a-8bc3-413f-b070-505fcf138ece@172.17.0.6:39111
I0106 20:07:15.266633 9 hierarchical.hpp:1103] Recovered ports(*):[33000-34000]; cpus(*):1; mem(*):1001; disk(*):13483 (total: ports(*):[33000-34000]; cpus(*):1; mem(*):1001; disk(*):13483, allocated: ) on slave 5e1508a8-0024-4626-9e0e-5c063f3c78a9-S0 from framework 5e1508a8-0024-4626-9e0e-5c063f3c78a9-0000
I0106 20:07:15.266770 9 hierarchical.hpp:1140] Framework 5e1508a8-0024-4626-9e0e-5c063f3c78a9-0000 filtered slave 5e1508a8-0024-4626-9e0e-5c063f3c78a9-S0 for 2mins
I0106 20:07:16.261010 11 hierarchical.hpp:1521] Filtered offer with ports(*):[33000-34000]; cpus(*):1; mem(*):1001; disk(*):13483 on slave 5e1508a8-0024-4626-9e0e-5c063f3c78a9-S0 for framework 5e1508a8-0024-4626-9e0e-5c063f3c78a9-0000
I0106 20:07:16.261245 11 hierarchical.hpp:1326] No resources available to allocate!
I0106 20:07:16.261335 11 hierarchical.hpp:1421] No inverse offers to send out!
但我不确定这是否相关,因为它与Kafka Appconfiguration中的资源设置无关。 GUI显示没有创build任务。

我有十个中间层/墨水泊坞窗任务与试图卡夫卡部署一起运行。 这可能是特定于Kafka泊坞窗图像的configuration问题。 我只是不知道debugging它的最好方法。 也许是在configuration文件中增加日志级别的情况。 它可能是一个环境variables或networking设置。 我正在挖掘它,并会更新我的进度,但任何build议,将不胜感激。

谢谢!

仅供参考,我通过快速启动shell脚本在Minimesos上安装了Mesos Kafka。 在Mesos Kafka上看到这个公关https://github.com/mesos/kafka/pull/183

它不使用Marathon和minimesos安装命令。 这是下一步。