简体   繁体   English

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

[英]Flume Agent not Receiving Data but no Error

I've got a problem with flume. 我的水槽有问题。 I am trying to get into big data and hence am working with the tutorial from the 'for dummies' books. 我正在尝试进入大数据,因此正在使用“傻瓜书”中的教程。 The other stuff so far has more or less worked, but there is some problem with the flume agent. 到目前为止,其他东西或多或少都起作用了,但是水槽代理存在一些问题。

Here is the tutorial I am working with. 是我正在使用的教程。

When I do everything according to the tutorial, my terminal output will be as followed: 当我按照教程进行所有操作时,终端输出如下:

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]

From there on it won't do anything anymore. 从那里开始,它将不再执行任何操作。 It will just stand like this until I shut down the terminal. 直到我关闭终端之前,它都会像这样站立。

I've tried to telnet the agent but the messages won't appear. 我尝试通过telnet代理,但消息不会出现。

Any idea what went wront? 知道什么变了吗?

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

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

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