Return-Path: Delivered-To: apmail-hadoop-chukwa-user-archive@minotaur.apache.org Received: (qmail 51927 invoked from network); 7 Jun 2010 08:49:16 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 7 Jun 2010 08:49:16 -0000 Received: (qmail 2214 invoked by uid 500); 7 Jun 2010 08:49:16 -0000 Delivered-To: apmail-hadoop-chukwa-user-archive@hadoop.apache.org Received: (qmail 2128 invoked by uid 500); 7 Jun 2010 08:49:14 -0000 Mailing-List: contact chukwa-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: chukwa-user@hadoop.apache.org Delivered-To: mailing list chukwa-user@hadoop.apache.org Received: (qmail 2120 invoked by uid 99); 7 Jun 2010 08:49:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Jun 2010 08:49:14 +0000 X-ASF-Spam-Status: No, hits=4.4 required=10.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of zhoupeng19850225@gmail.com designates 209.85.212.176 as permitted sender) Received: from [209.85.212.176] (HELO mail-px0-f176.google.com) (209.85.212.176) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Jun 2010 08:49:08 +0000 Received: by pxi10 with SMTP id 10so2004948pxi.35 for ; Mon, 07 Jun 2010 01:48:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=dpr/p3ybtygsirTakayIs3aLNmgZyco6PMNZ8JIioSg=; b=QHTqK7znXZqTBZYpACz2b/XAQkJiy8UZWYheL43jLM6NI0LTi6Gg9NAIBFrtkrFpEz I8xpSZu02x3NH8DDKyDC+5S0mMdc6qRfLFaploIAqxs10lWJqn64DdD/z5lywWq4nKBX 0gOw9LACUamdOgd5ttw4e22mZaDE8z8yCXzTs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=btkxcJI0J4zJi8zot4d8u6jVl6NemgzzJTuK3AAh+6cxcI6WZ6GBhCN2nuWpJpBgJO P13M0TSLPrpsTJGUHwtBHOPkLjF4rNlzusUgVAUDxhOI/DLMqMQDgPdy4fCqYg6zUk6D atjPMS+OdWEFQyHgFuJKDTOC5D1DtdZDlRMrY= MIME-Version: 1.0 Received: by 10.114.188.4 with SMTP id l4mr11320317waf.19.1275900526959; Mon, 07 Jun 2010 01:48:46 -0700 (PDT) Received: by 10.115.75.19 with HTTP; Mon, 7 Jun 2010 01:48:46 -0700 (PDT) In-Reply-To: <88330FEB0FCB144BB6CCD45C49910D380B424373A0@UK-DC1-S-MS01.specificmedia.local> References: <88330FEB0FCB144BB6CCD45C49910D380B424373A0@UK-DC1-S-MS01.specificmedia.local> Date: Mon, 7 Jun 2010 16:48:46 +0800 Message-ID: Subject: Re: Adaptor configuration problem From: =?UTF-8?B?5ZGo6bmP?= To: chukwa-user@hadoop.apache.org Content-Type: multipart/alternative; boundary=0016e64ca6d2ad9d8b04886cbd9a X-Virus-Checked: Checked by ClamAV on apache.org --0016e64ca6d2ad9d8b04886cbd9a Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable The first problem is resolved,the params in initial_adaptors must be separate by one blank space,if more than one,will generate a warning message! On Mon, Jun 7, 2010 at 3:31 PM, Gerrit van Vuuren < gvanvuuren@specificmedia.com> wrote: > Hi, > > The dirtailing adaptor takes the directory and file glob (*.log, this is > based on the apache commons) as 2 parameters. Make sure there is a space. > > I'm not sure way the agent collects the hadoop logs. Make sure you didn't > add in the chukwa hadoop metrics config. > > ------------------------------ > *From*: =E5=91=A8=E9=B9=8F > *To*: chukwa-user@hadoop.apache.org > *Sent*: Mon Jun 07 08:10:00 2010 > *Subject*: Adaptor configuration problem > Hi=EF=BC=8CI want to monitoring logs in the dir:/home/rmss/wwwgatta/,and = there are > two types of log in it,such as > gatta.log, gatta.log.2010-05-24. > My initial_adaptors is: > add DirTailingAdaptor logs /home/rmss/wwwgatta/ *.log > filetailer.CharFileTailingAdaptorUTF8 0 > > When I start agent,the agent.log says that the adaptor has a invalid > param: /home/rmss/wwwgatta/ *.log. > > The second problem is: > The agent collected the log in the HADOOP_HOME/logs/,but i didn't put the > dir int the initial_adaptors.How can i only monitoring the two types of l= og > in the > /home/rmss/wwwgatta/?? > > Thanks! > --0016e64ca6d2ad9d8b04886cbd9a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable The first problem is resolved,the params in initial_adaptors must be separa= te by one blank space,if more than one,will generate a warning message!
=
On Mon, Jun 7, 2010 at 3:31 PM, Gerrit van V= uuren <gvanvuuren@specificmedia.com> wrote:

Hi,

The dirtailing adaptor takes the directory and file glob (*.log= , this is based on the apache commons) as 2 parameters. Make sure there is = a space.

I'm not sure way the agent collects the hadoop logs. Ma= ke sure you didn't add in the chukwa hadoop metrics config.


From: =E5=91=A8=E9=B9=8F <zhoupeng19850225@gmail.com>
To: chukwa-user@hadoop.apache.org <chukwa-user@hadoop.apache.org>
Sent: Mon Jun 07 08:10:00 2010
Subject: Adaptor config= uration problem
Hi=EF=BC=8CI want to monitoring logs in the dir:/home/rmss/wwwgatta/,and th= ere are two types of log in it,such as
=C2=A0 gatta.log, =C2=A0 gatta.l= og.2010-05-24.
My initial_adaptors is:
=C2=A0 add DirTailingAdaptor l= ogs /home/rmss/wwwgatta/ *.log=C2=A0 filetailer.CharFileTailingAdaptorUTF8 = 0

When I start agent,the agent.log says that the adaptor has a=C2=A0 inva= lid param:=C2=A0 /home/rmss/wwwgatta/ *.log.

=C2=A0 The second prob= lem is:
The agent collected the log in the HADOOP_HOME/logs/,but i didn&= #39;t put the dir int the initial_adaptors.How can i only monitoring the tw= o types of log in the
=C2=A0/home/rmss/wwwgatta/??

Thanks!
=20

--0016e64ca6d2ad9d8b04886cbd9a--