From user-return-1819-apmail-flume-user-archive=flume.apache.org@flume.apache.org Thu Jul 26 13:51:19 2012 Return-Path: X-Original-To: apmail-flume-user-archive@www.apache.org Delivered-To: apmail-flume-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D231B9AB9 for ; Thu, 26 Jul 2012 13:51:19 +0000 (UTC) Received: (qmail 40730 invoked by uid 500); 26 Jul 2012 13:51:19 -0000 Delivered-To: apmail-flume-user-archive@flume.apache.org Received: (qmail 40655 invoked by uid 500); 26 Jul 2012 13:51:19 -0000 Mailing-List: contact user-help@flume.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@flume.apache.org Delivered-To: mailing list user@flume.apache.org Received: (qmail 40647 invoked by uid 99); 26 Jul 2012 13:51:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jul 2012 13:51:19 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FSL_RCVD_USER,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of brock@cloudera.com designates 209.85.220.179 as permitted sender) Received: from [209.85.220.179] (HELO mail-vc0-f179.google.com) (209.85.220.179) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jul 2012 13:51:13 +0000 Received: by vcbf11 with SMTP id f11so1575512vcb.38 for ; Thu, 26 Jul 2012 06:50:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:x-gm-message-state; bh=bv0GPd9ciW866L8+gGbx61JjmcoyLWfQKrWkU6QjyHA=; b=N5OyNzdq9/c3UtSzSPiLBL5nt/o8XOkNl5x8UBE0bany2BPlWsMahOLww/rpUuBnDu 1zNY4GahJXNAZBUhnVVbQoCD/n8eS5IE+KVvLmp9ZXlWFqWMt90X3alA/gpJT9y5BzbN ne6LPcfZxePiJ43HEiACBxJTtgpwfyTv6OGMxpYkmSm05HXjBepj6DYXpTJfGj3Xw5V+ Uw8fIBVTfAbBMkJjoASWreVDAi47GBalVPRx+Wb1qiUTVVYCPBCFKM5KngwANk+oFHwY Ep+A03+YJZbiHFIwhJYB5Hv93xszlu1SpsHF+QDUFfeJubVJNtlXwVEfdyylKEth3M5Z 1kbg== Received: by 10.220.107.136 with SMTP id b8mr21676885vcp.17.1343310652096; Thu, 26 Jul 2012 06:50:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.58.95.42 with HTTP; Thu, 26 Jul 2012 06:50:31 -0700 (PDT) In-Reply-To: References: From: Brock Noland Date: Thu, 26 Jul 2012 08:50:31 -0500 Message-ID: Subject: Re: A problem about flume-ng's HDFSAgent To: user@flume.apache.org Content-Type: multipart/alternative; boundary=f46d0435c0723dbffb04c5bbe2c6 X-Gm-Message-State: ALoCoQkj20Zab9ZXVoyXUfimFfezSoEfsrowI1eIryqO7G6mNoAKsGelhr1uBrEfAe0GmQpXlJ+7 --f46d0435c0723dbffb04c5bbe2c6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, I believe the line agent_foo.sinks.hdfsSink-1.channels =3D memoryChannel-1 should be agent_foo.sinks.hdfsSink-1.channel =3D memoryChannel-1 On Wed, Jul 25, 2012 at 10:47 PM, =E8=8D=86=E6=A3=98=E9=B8=9F wrote: > hello,people: > This is my configuration. > agent_foo.sources =3D tailsource-1 > agent_foo.channels =3D memoryChannel-1 > agent_foo.sinks =3D hdfsSink-1 > agent_foo.sources.tailsource-1.type =3D exec > agent_foo.sources.tailsource-1.command =3D tail -F > /home/hadoop/test/hello.txt > agent_foo.sources.tailsource-1.channels =3D memoryChannel-1 > agent_foo.channels.memoryChannel-1.type =3D memory > agent_foo.channels.memoryChannel-1.capacity =3D 1000 > agent_foo.sinks.hdfsSink-1.type =3D hdfs > agent_foo.sinks.hdfsSink-1.channels =3D memoryChannel-1 > agent_foo.sinks.hdfsSink-1.hdfs.path =3D > 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 > > --=20 Apache MRUnit - Unit testing MapReduce - http://incubator.apache.org/mrunit= / --f46d0435c0723dbffb04c5bbe2c6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi,

I believe the line

=C2=A0 =C2=A0 agent_foo.sinks.hdfsSink-1.channels =3D memoryChannel-1

should be

=C2=A0 =C2=A0 agent_foo.sinks.hdfsSink-1.channel =3D memoryChannel-1

On Wed, Jul= 25, 2012 at 10:47 PM, =E8=8D=86=E6=A3=98=E9=B8=9F <liuqinwe_40430= 7305@qq.com> wrote:
hello,people:
=C2=A0=C2=A0=C2=A0 This is my configuration.
=C2=A0=C2=A0=C2=A0 agent_foo.sources =3D tailsource-1
=C2=A0=C2=A0= =C2=A0 agent_foo.channels =3D memoryChannel-1
=C2=A0=C2=A0=C2=A0 agent_f= oo.sinks =3D hdfsSink-1
=C2=A0=C2=A0=C2=A0 agent_foo.sources.tailsource-1.type =3D exec
=C2= =A0=C2=A0=C2=A0 agent_foo.sources.tailsource-1.command =3D tail -F /home/ha= doop/test/hello.txt
=C2=A0=C2=A0=C2=A0 agent_foo.sources.tailsource-1.ch= annels =3D memoryChannel-1
=C2=A0=C2=A0=C2=A0 agent_foo.channels.memoryChannel-1.type =3D memory<= br>=C2=A0=C2=A0=C2=A0 agent_foo.channels.memoryChannel-1.capacity =3D 1000<= /div>
=C2=A0=C2=A0=C2=A0 agent_foo.sinks.hdfsSink-1.type =3D hdfs
=C2=A0= =C2=A0=C2=A0 agent_foo.sinks.hdfsSink-1.channels =3D memoryChannel-1
=C2= =A0=C2=A0=C2=A0 agent_foo.sinks.hdfsSink-1.hdfs.path =3D hdfs://CMN-NJ-2-57= 9:9000/user/hadoop/flume
=C2=A0=C2=A0=C2=A0=C2=A0But it has a wrong that= is "2012-07-26 11:37:12,719 WARN conf.FlumeConfiguration: Configurati= on empty for: hdfsSink-1.Removed.
".I hope to get you help.Please give me a way for solve the proble.
My name
Yanzhi.liu
=C2=A0
=


--
Apache MRUnit - Unit testing Ma= pReduce - http://incubator.apache.org/mrunit/
--f46d0435c0723dbffb04c5bbe2c6--