Hi,
I believe the line
agent_foo.sinks.hdfsSink-1.channels = memoryChannel-1
should be
agent_foo.sinks.hdfsSink-1.channel = memoryChannel-1
On Wed, Jul 25, 2012 at 10:47 PM, 荆棘鸟 <[email protected]> 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
>
>
--
Apache MRUnit - Unit testing MapReduce - http://incubator.apache.org/mrunit/