簡體   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