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 B324C64A6 for ; Fri, 29 Jul 2011 22:55:13 +0000 (UTC) Received: (qmail 67747 invoked by uid 500); 29 Jul 2011 22:55:13 -0000 Delivered-To: apmail-incubator-chukwa-user-archive@incubator.apache.org Received: (qmail 67664 invoked by uid 500); 29 Jul 2011 22:55:12 -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 67657 invoked by uid 99); 29 Jul 2011 22:55:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Jul 2011 22:55:12 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of asrabkin@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; Fri, 29 Jul 2011 22:55:07 +0000 Received: by fxg11 with SMTP id 11so3056232fxg.6 for ; Fri, 29 Jul 2011 15:54:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=4AQbUPTEfIyr/x5asAYQ7Fr+yhMiIIambwErugLqLeM=; b=g8LlIHOoVFee4JKNPSpOnHPATh5XXJLvs9QJhDeIMLBwjSuGrbotO7Vx2CFfqIqZeV nii6xuPoxN9Lg0CCkbAQBUU7+L5vyWd09wb2fFbZ1IL0rK8BbhmO1+caE8LZHDLJLtuC mqnMpVPQJbtA4K4sal1uCFhTwYZF32aYR8K+k= MIME-Version: 1.0 Received: by 10.204.166.129 with SMTP id m1mr559644bky.350.1311980086140; Fri, 29 Jul 2011 15:54:46 -0700 (PDT) Received: by 10.204.114.83 with HTTP; Fri, 29 Jul 2011 15:54:46 -0700 (PDT) In-Reply-To: References: Date: Fri, 29 Jul 2011 18:54:46 -0400 Message-ID: Subject: Re: Agent and collector From: Ariel Rabkin To: chukwa-user@incubator.apache.org Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Yes, the agent-->collector path is HTTP. This was done precisely to allow load balancers. I don't know how tested that configuration is, though. I think most sites had Chukwa itself do the load balancing by specifying multiple collectors. There is a notion of end-to-end reliability; the so-called asynchronous ack mechanism. It's off by default and hasn't been tried much in production. See http://www.usenix.org/events/lisa10/tech/full_papers/Rabkin.pdf for the detailed design of it. --Ari On Fri, Jul 29, 2011 at 11:04 AM, T. A. Smooth wrote= : > Hello I am checking out Chukwa. I have a few questions I was hoping the m= ail > list could answer :-) > > 1)Does Chukwa agents communicate to collectors over http? Or some other > protocol? > > The agent configuration makes me believe that: > http://incubator.apache.org/chukwa/docs/r0.4.0/admin.html#Configuration > > 2) And the docs it seems an Agent will pick a collector at random and the= n > use that collect until there is a problem in communicating with it. How d= o > you think the agent/collector would act if they have a load balancer betw= een > them? For example, the agent configuration would have just one url > http://collector-loadbalancer. example.com:8080/ > > The load balancer would have 1 or more collectors behind it saving the > chunks it receives to disk or hadoop. > > 3) Does chukwa have any =93end-to-end=94 reliability features for message > delivery? For example, a collector may receive the chunk from the agent b= ut > it may have a problem writing it to the data store. (ie. Disk space full, > connection to hadoop down) . Will the agent be notified that the chunk wa= s > not processed for a certain reason and the agent is told to cache to disk > the missed message? > > Thanks for the info! > > -tp- --=20 Ari Rabkin asrabkin@gmail.com UC Berkeley Computer Science Department