heron activate Error: cluster/role/environ does not match. Topology 'WordCountTopology' is running at local/root/default, not local/yitian/default

heron activate Error: cluster/role/environ does not match. Topology 'WordCountTopology' is running at local/root/default, not local/yitian/default

当我 运行 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

它将打印多个日志,这将有助于确定是否存在问题。