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 297BE9CBD for ; Sat, 19 May 2012 23:51:54 +0000 (UTC) Received: (qmail 95082 invoked by uid 500); 19 May 2012 23:51:53 -0000 Delivered-To: apmail-incubator-chukwa-user-archive@incubator.apache.org Received: (qmail 94947 invoked by uid 500); 19 May 2012 23:51:53 -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 94938 invoked by uid 99); 19 May 2012 23:51:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 May 2012 23:51:52 +0000 X-ASF-Spam-Status: No, hits=-0.5 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of eric818@gmail.com designates 74.125.82.175 as permitted sender) Received: from [74.125.82.175] (HELO mail-we0-f175.google.com) (74.125.82.175) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 May 2012 23:51:45 +0000 Received: by werg55 with SMTP id g55so2794633wer.6 for ; Sat, 19 May 2012 16:51:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=xsqn+0vCzGDPWsllc49vSukx9GN0y7lR1jjIatDBRvY=; b=ylnvrZ2E29CP5DYhPlfuUsr5N4MQq1uELL+6Aw1sfRda6LsnkilGmJGEH4ANV37+5g 3ka+vRlgQ37uw5vl8c7USoP8LdXZNlDu7VaE3T0I7utfoVLV8oRN+uVf6jxEZYv9cSA8 ArBWoP1DIctnDvvMxHf6N+r9swPt3ZV8Zso95ps/Wks/HS+0hKZTL13bBHkK9IC8Ox3X WwtayUFMoVmYY+yHabX19MK1/tu0mUzN19BV3rF0fecdhWixEE3a2deM8NJYAHG1UuBq Rc5rpAKhUmo4YUovCQ22KLrQrJKc0EkJfwypFusngd9XXq+0f50vZzaYprvyfMXzDesa maDw== MIME-Version: 1.0 Received: by 10.216.134.145 with SMTP id s17mr10405906wei.22.1337471485189; Sat, 19 May 2012 16:51:25 -0700 (PDT) Received: by 10.216.5.18 with HTTP; Sat, 19 May 2012 16:51:25 -0700 (PDT) In-Reply-To: References: Date: Sat, 19 May 2012 16:51:25 -0700 Message-ID: Subject: Re: the check point offset is bigger than the log file size From: Eric Yang To: chukwa-user@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I am unable to reproduce this if the log file has not rotated. I know there is a separated bug that when file is rotated, the check point offset does not change until the new file exceeds the last check point offset. I only use Log4j SocketAppender and SocketAdaptor for streaming data. I don't use CharFileTailingAdaptorUTF8 adaptor. regards, Eric On Mon, May 14, 2012 at 4:01 AM, IvyTang wrote: > The gamelog size is=A0158023223, but the check point file is > > ADD adaptor_2963225a90653a309cf779d4a1d815a3 =3D > org.apache.hadoop.chukwa.datacollection.adaptor.filetailer.CharFileTailin= gAdaptorUTF8 > Gamelog 0 /var/log/dataproxy/gamelog 229406124 > > The gamelog didn't rotate , i'm sure. > > But the check point file size is bigger than the file size , the chukwa > WARN Thread-2 FileTailingAdaptor - > Adaptor|adaptor_2963225a90653a309cf779d4a1d815a3| file: > /var/log/dataproxy/gamelog, has rotated and no detection - reset counters= to > 0L > And the agent began to transfer the whole log file. > > I just feel confused why agent generate a offset size is bigger than the = log > size when the gamelog did not rotate. > > The chukwa version is 0.4.0 > > -- > Best regards, > > Ivy Tang > > >