繁体   English   中英

Flume Agent不接收数据但没有错误

[英]Flume Agent not Receiving Data but no Error

我的水槽有问题。 我正在尝试进入大数据,因此正在使用“傻瓜书”中的教程。 到目前为止,其他东西或多或少都起作用了,但是水槽代理存在一些问题。

是我正在使用的教程。

当我按照教程进行所有操作时,终端输出如下:

16/02/05 17:19:33 INFO conf.FlumeConfiguration: Post-validation flume configuration contains configuration for agents: [shaman]

16/02/05 17:19:33 INFO node.AbstractConfigurationProvider: Creating channels

16/02/05 17:19:33 INFO channel.DefaultChannelFactory: Creating instance of channel in-mem_c1 type memory

16/02/05 17:19:33 INFO node.AbstractConfigurationProvider: Created channel in-mem_c1

16/02/05 17:19:33 INFO source.DefaultSourceFactory: Creating instance of source netcat_s1, type netcat

16/02/05 17:19:33 INFO node.AbstractConfigurationProvider: Channel in-mem_c1 connected to [netcat_s1]

16/02/05 17:19:33 INFO node.Application: Starting new configuration:{ sourceRunners:{netcat_s1=EventDrivenSourceRunner: { source:org.apache.flume.source.NetcatSource{name:netcat_s1,state:IDLE} }} sinkRunners:{} channels:{in-mem_c1=org.apache.flume.channel.MemoryChannel{name: in-mem_c1}} }

16/02/05 17:19:33 INFO node.Application: Starting Channel in-mem_c1

16/02/05 17:19:34 INFO instrumentation.MonitoredCounterGroup: Monitored counter group for type: CHANNEL, name: in-mem_c1: Successfully registered new MBean.

16/02/05 17:19:34 INFO instrumentation.MonitoredCounterGroup: Component type: CHANNEL, name: in-mem_c1 started

16/02/05 17:19:34 INFO node.Application: Starting Source netcat_s1

16/02/05 17:19:34 INFO source.NetcatSource: Source starting

16/02/05 17:19:34 INFO source.NetcatSource: Created 
serverSocket:sun.nio.ch.ServerSocketChannelImpl[/127.0.0.1:44444]

从那里开始,它将不再执行任何操作。 直到我关闭终端之前,它都会像这样站立。

我尝试通过telnet代理,但消息不会出现。

知道什么变了吗?

在本教程中,它将数据放入HDFS中,请检查您的HDFS目录。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM