storm spout didn't emit & result file empty

故事扮演 提交于 2019-12-11 09:39:27

问题


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

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 "


回答1:


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.



来源:https://stackoverflow.com/questions/33142241/storm-spout-didnt-emit-result-file-empty

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!