Return-Path: X-Original-To: apmail-incubator-chukwa-user-archive@www.apache.org Delivered-To: apmail-incubator-chukwa-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 77D2295F9 for ; Thu, 10 Nov 2011 13:14:29 +0000 (UTC) Received: (qmail 53745 invoked by uid 500); 10 Nov 2011 13:14:29 -0000 Delivered-To: apmail-incubator-chukwa-user-archive@incubator.apache.org Received: (qmail 53646 invoked by uid 500); 10 Nov 2011 13:14:28 -0000 Mailing-List: contact chukwa-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: chukwa-user@incubator.apache.org Delivered-To: mailing list chukwa-user@incubator.apache.org Received: (qmail 53639 invoked by uid 99); 10 Nov 2011 13:14:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Nov 2011 13:14:28 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of dontariq@gmail.com designates 209.85.161.47 as permitted sender) Received: from [209.85.161.47] (HELO mail-fx0-f47.google.com) (209.85.161.47) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Nov 2011 13:14:22 +0000 Received: by faat2 with SMTP id t2so2910756faa.6 for ; Thu, 10 Nov 2011 05:14:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=zKI4kB094mQHl2wL2R90q/pwDz3Kf/qXdGFusAtUFbI=; b=LizLFX7AjLaQuxuXix+qdgsc/Z40FybWQ6UpYL5q76c3qvHZctGm+BoJBYscn2LEEx DXQN1z2xWNOaSwOFpXrDIt7oq2SQYNMx8NxEoxGZTL+VWwdPpeFDdJvD/PANGA8EtLMB IbjJuim69kJb3leTxNkDvduhEV0TBFZCNSxFA= Received: by 10.152.103.51 with SMTP id ft19mr4339151lab.42.1320930841201; Thu, 10 Nov 2011 05:14:01 -0800 (PST) MIME-Version: 1.0 Received: by 10.152.37.5 with HTTP; Thu, 10 Nov 2011 05:13:20 -0800 (PST) In-Reply-To: References: From: Mohammad Tariq Date: Thu, 10 Nov 2011 18:43:20 +0530 Message-ID: Subject: Re: How to begin with Chukwa To: chukwa-user@incubator.apache.org, billgraham@gmail.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello AD, I am sorry for leaving the discussion in between, I was busy with my exams.Now I am back and need your help.I started with what you have suggested and read about the concepts (agents and collectors etc). Now I am trying to collect the data from a file on the local file system and trying to dump it into the HDFS and I am running the agent and collector on the same machine.I was able to start the agent but when I tried to start the collector I got the following line at the terminal and the terminal got stuck there itself - tariq@ubuntu:~/chukwa-0.4.0$ 2011-11-10 18:42:09.521::INFO: Logging to STDERR via org.mortbay.log.StdErrLog 2011-11-10 18:42:09.544::INFO: jetty-6.1.11 When I issued jps, I could see only the agent. Regards, =A0=A0 =A0Mohammad Tariq On Sat, Nov 5, 2011 at 5:38 AM, Bill Graham wrote: > One difference between Chukwa and Flume is that in Chukwa you configure e= ach > component individually to know how to handle different datatypes. This ma= kes > it fairly straight-forward to set up, but can be painful to manage for ve= ry > large installs (so I've heard). Flume centralized the configs of "flows" > which helps when managing larger installs, at the cost of additional > complexity. > > On Fri, Nov 4, 2011 at 7:02 AM, AD wrote: >> >> Are you running the agent and collector on the same machine? =A0Off the = cuff >> its something like >> 1 - set your CHUKWA_HOME env variable >> 2 - edit conf/chukwa-env.sh and make sure JAVA_HOME and all the vars loo= k >> good >> 3 - edit conf/initial_adaptors with the adaptors you need. =A0note here = that >> the dataType >> 4 - edit conf/collectors and add the hostname/ip of the collectors >> 5 - edit conf/agents and add ip/hostname of the agents >> 6 - edit conf/chukwa-demux.conf and make sure you have a demux processor >> for your dataType (name from initial_adaptors) >> On agent node run bin/chukwa agent , tail ${CHUKWA_LOGS}/agent.log >> On collector node run bin/chukwa collector =A0, =A0tail >> ${CHUKWA_LOGS]/collector.log >> On collector node run bin/chukwa Demux =A0, =A0tail ${CHUKWA_LOGS}/Demux= .log >> >> >> On Fri, Nov 4, 2011 at 9:48 AM, Mohammad Tariq wrot= e: >>> >>> Hello AD, >>> =A0 Yes, I have read the wiki and right now I am trying to set up a >>> Chukwa cluster using the wiki itself. Are there any other links you >>> are aware of that can help me learn and use Chukwa in a better >>> fashion?? I am trying to use Chukwa for data in=A0"The Wellsite >>> Information Transfer Standard Markup Language (WITSML)" format. >>> >>> Regards, >>> =A0=A0 =A0Mohammad Tariq >>> >>> >>> On Fri, Nov 4, 2011 at 6:49 PM, AD wrote: >>> > >>> > I think it helps to read he wiki and understand the basic concepts, >>> > like agents and collectors. =A0What kind of data do you want to parse= ? =A0I have >>> > used both Flume and Chukwa myself and can say for sure Chukwa is mile= s >>> > easier to work with and configure. =A0Flume may have some more advanc= ed >>> > features, but so far i found Chukwa both easy to extend from a develo= pment >>> > standpoint, and much easier to configure. >>> > Have you read the wiki pages ? >>> > >>> > On Fri, Nov 4, 2011 at 8:39 AM, Mohammad Tariq >>> > wrote: >>> >> >>> >> Hello list, >>> >> =A0 I am totally new to Chukwa and I have to learn and start using i= t as >>> >> soon soon as possible as a part of my new project. Could any one let= me know >>> >> how to begin with?? It would be a great favor to me. I know Flume an= d have >>> >> used it already.Also I would like to know how different is Chukwa fr= om >>> >> Flume?? >>> >> =A0 Many thanks in advance. >>> >> >>> >> =A0 Regards, >>> >> =A0=A0 =A0Mohammad Tariq >>> > >> > >