1
votes

i'm new to storm i submitted different topologies form github like storm-starter and others successfully after some problem i faced it but some of the some spout didn't emit ! like that enter image description here

is that right ? or is there a problem ?

where can i find the result after submitting topology ? i guessed in the result file in storm folder but it's empty !

this what i have in the bolt "one of them " enter image description here enter image description here

1
I cannot follow completely... For the result: does your sink bolt write to a file? If yes, this file will be located at the machine that executed the bolt (if you have multiple instances of the sink running on different machines, you will get multiple output files each containing one partition of the overall result). Check the UI to see on which machine the sink bolt instances got executed.Matthias J. Sax
thanks for helping , i'm sorry as i'm new how can i checked it in UI ? i mean in which section ?user3188912
Click on the ID of the operator to get a more detailsed view for it.Matthias J. Sax
i checked but didn't find and thing about machine i'll edit post to youuser3188912
It all runs the the same machine called "ubuntu" as shown in the column "host".Matthias J. Sax

1 Answers

1
votes

There is no explicit "result" file in storm. Your topology is responsible for handling/storing results wherever/whenever you need to. You can check the log files from each worker for logs (System.out calls or logger bindings) or you can have a sink bolt that writes whatever result you need locally to a file on the machine where it is being executed or you can have an hdfsBolt to write the results to an hdfs file or you can have an external server that receives results via sockets from your last bolt, etc...

The list is endless, it is up to you.