风暴喷口没有发出 &结果文件为空 [英] storm spout didn't emit & result file empty

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

问题描述

我是 Storm 的新手,我在遇到一些问题后成功地从 github 提交了不同的拓扑,如 Storm-starter 和其他拓扑,但其中一些 spout 没有发出!像那样

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 "

推荐答案

storm 中没有明确的结果"文件.您的拓扑负责随时随地处理/存储结果.您可以检查每个工作人员的日志文件中的日志(System.out 调用或记录器绑定),或者您可以使用接收器将您需要的任何结果本地写入正在执行它的机器上的文件中,或者您可以有一个hdfsBolt 将结果写入 hdfs 文件,或者您可以拥有一个外部服务器,通过来自最后一个 Bolt 的套接字等接收结果...

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天全站免登陆