如以下错误发生时,当我使用命令在本地计算机上运行Twitter Heron时:
heron activate local WordCountTopology.
错误信息:
[root@localhost Desktop]# heron activate local WordCountTopology
[2017-12-02 05:23:32 +0000] [INFO]: Using cluster definition in /usr/local/heron/conf/local
[2017-12-02 05:23:32 +0000] [ERROR]: cluster/role/environ does not match. Topology 'WordCountTopology' is running at local/root/default, not local/yitian/default
[2017-12-02 05:23:32 +0000] [ERROR]: Failed to activate topology: WordCountTopology
如果我们能看到冗长的日志,那将是很棒的 - 请您执行以下操作吗?
heron activate local --verbose WordCountTopology
它将打印多个日志,这将有助于确定是否存在问题。