暴风雨的水嘴没散发出来结果文件为空 [英] storm spout didn't emit & result file empty

查看:103
本文介绍了暴风雨的水嘴没散发出来结果文件为空的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是新来的风暴,在遇到一些问题后,我成功地从github像Storm-starter一样成功地提交了其他拓扑,但其中一些却出现了spout didn't emit!像那样

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

是吗?还是有问题?

提交拓扑后,在哪里可以找到结果? 我猜在storm文件夹中的result文件中,但是它是空的!

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 "

推荐答案

风暴中没有明确的结果"文件.无论何时何地,您的拓扑都负责处理/存储结果.您可以检查每个工作人员的日志文件中是否有日志(System.out调用或记录器绑定),或者可以使用一个沉头螺栓,将本地所需的任何结果写到正在执行该文件的计算机上的文件中,或者可以使用hdfsBolt可以将结果写入hdfs文件,或者您可以拥有一个外部服务器,该服务器通过套接字从上一个螺栓等接收结果.

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.

这篇关于暴风雨的水嘴没散发出来结果文件为空的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆