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

时间:2016-02-05 15:33:05

标签: flume-ng bigtop

我有水槽问题。我正在尝试进入大数据,因此我正在使用来自“傻瓜”的教程'图书。到目前为止,其他的东西或多或少都有效,但水槽剂有一些问题。

Here是我正在使用的教程。

当我按照教程完成所有操作时,我的终端输出将如下:

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]

从那以后它就不再做任何事了。直到我关闭终端才会这样。

我试图远程登录代理,但邮件不会出现。

知道什么是疯了?

1 个答案:

答案 0 :(得分:0)

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