Search code examples
apache-stormtopology

How can i find the result of Debugging topology in storm?


I'm new to storm trying to use deubugging

i forced topology.debug: true in storm.yaml

but when i finished sumbiting topology couldn't find where is the result of debug

I noticed in storm ui that topology.debug is false !

why it coudln't read my changes ?


Solution

  • Each node/machine in you cluster has it's own storm.yaml file. Thus, your changes to your local storm.yaml does not have any effect. However, you can overwrite this value via a topology configuration that is provided when you submit the topology:

    Config cfg = new Config();
    cfg.setDebug(true);
    StormSubmitter.submitTopology("myTopology", cfg, builder.createTopology());
    

    You will find the log files on the nodes in you cluster in your_storm_dir/logs/