flume-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stern, Mark" <mst...@iskoot.com>
Subject Re: A problem about flume-ng's HDFSAgent
Date Thu, 26 Jul 2012 13:46:38 GMT
A sink can only read from one channel. So

agent_foo.sinks.hdfsSink-1.channels = memoryChannel-1

should be:

agent_foo.sinks.hdfsSink-1.channel = memoryChannel-1

On Thu, 2012-07-26 at 11:47 +0800, 荆棘鸟 wrote:
>                             hello,people:
>                         This is my configuration.
>                      agent_foo.sources = tailsource-1
>                    agent_foo.channels = memoryChannel-1
>                        agent_foo.sinks = hdfsSink-1
>                 agent_foo.sources.tailsource-1.type = exec
>               agent_foo.sources.tailsource-1.command = tail
>                     -F /home/hadoop/test/hello.txt
>         agent_foo.sources.tailsource-1.channels = memoryChannel-1
>              agent_foo.channels.memoryChannel-1.type = memory
>             agent_foo.channels.memoryChannel-1.capacity = 1000
>                   agent_foo.sinks.hdfsSink-1.type = hdfs
>           agent_foo.sinks.hdfsSink-1.channels = memoryChannel-1
>                   agent_foo.sinks.hdfsSink-1.hdfs.path =
>               hdfs://CMN-NJ-2-579:9000/user/hadoop/flume
>          But it has a wrong that is "2012-07-26 11:37:12,719 WARN
> conf.FlumeConfiguration: Configuration empty for: hdfsSink-1.Removed.
>  ".I hope to get you help.Please give me a way for solve the proble.
>                                My name
>                               Yanzhi.liu
>                                    
>                                    

Mime
View raw message