heron

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


As following error happened, when I running Twitter Heron on local machine using the command:

heron activate local WordCountTopology.

The error information:

[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

Solution

  • It will be great if we can see the verbose logs - can you please do the following?

    heron activate local --verbose WordCountTopology
    

    It will print several logs and this will help identify if there is an issue.