Return-Path: X-Original-To: apmail-accumulo-user-archive@www.apache.org Delivered-To: apmail-accumulo-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 1EA8310A12 for ; Thu, 24 Oct 2013 17:04:45 +0000 (UTC) Received: (qmail 65946 invoked by uid 500); 24 Oct 2013 17:03:42 -0000 Delivered-To: apmail-accumulo-user-archive@accumulo.apache.org Received: (qmail 65904 invoked by uid 500); 24 Oct 2013 17:03:24 -0000 Mailing-List: contact user-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@accumulo.apache.org Delivered-To: mailing list user@accumulo.apache.org Received: (qmail 65861 invoked by uid 99); 24 Oct 2013 17:03:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Oct 2013 17:03:20 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of eric.newton@gmail.com designates 209.85.216.44 as permitted sender) Received: from [209.85.216.44] (HELO mail-qa0-f44.google.com) (209.85.216.44) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Oct 2013 17:03:16 +0000 Received: by mail-qa0-f44.google.com with SMTP id cm18so5228861qab.17 for ; Thu, 24 Oct 2013 10:02:55 -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; bh=24INdRfImc/kuiz/Gsf2gvjbRRqt9IR/PZPLv2fT7ws=; b=n9EHwQmYQw4m3i0YH2q9FhFMxmlMzWU2EBkp4EdAfhZ9pmRvpguOJUcBJAOL1Dp0bI Q25f3ZQazE8uhyGPBcRXZt2hZosrSuCHzvFcbINnXBYTVfkUtEOWKrPYE4xrKdS86Izv qVktGRpvR+g3sP+0fiQ93yW8q2zBKWFHQ5rLaoeo1WhuMl5OeAkpeUpRaPPZVtWI5+LN ULedUkZW/k3U6CsGchrvtvxeEL2gcZYIzPCmDoIimh6+p+zlwGyP2UjIsmmaXcAXDSjQ /0uFvjvRyh7fJo2YfBGY/HwPqX1t+Rrty0xZ7y0+jVrxiF/IG2HAwMFOBwafijm/eHag UZjw== MIME-Version: 1.0 X-Received: by 10.229.101.136 with SMTP id c8mr4849538qco.17.1382634175443; Thu, 24 Oct 2013 10:02:55 -0700 (PDT) Received: by 10.96.101.101 with HTTP; Thu, 24 Oct 2013 10:02:55 -0700 (PDT) In-Reply-To: References: Date: Thu, 24 Oct 2013 13:02:55 -0400 Message-ID: Subject: Re: Sizing walog area From: Eric Newton To: "user@accumulo.apache.org" Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org logger.archive flag, when set, copies the WALog files into HDFS before they are removed from the local file system. This is primarily used for debugging when testing. logger.recovery.file.replication is a way to specify the replication of the archived WALog files in HDFS. -Eric On Thu, Oct 24, 2013 at 12:58 PM, Terry P. wrote: > Hi Christopher, > Just to ensure I'm looking at the correct property, by "in-memory map size > per tserver" are you referring to the property tserver.memory.maps.max in > accumulo-site.xml? If that's the case, I'm using 1GB for that property. > > I am running loggers on each tserver. Is the default that Accumulo writes to > at least two loggers? I see config item logger.recovery.file.replication is > set to 2 (by default); is that what controls this? > > Digging around, I also see that logger.archive.replication is set to 2, and > logger.archive is false. What does logger.archive and > logger.archive.replication do? I find no mention of "archive" in the User > Manual. > > Many thanks Christopher, your help is always appreciated. > > > On Wed, Oct 23, 2013 at 2:10 PM, Christopher wrote: >> >> The data in the write-ahead logs is needed until the tserver flushes >> the in memory maps to disk. Assuming you have a logger running on >> every tserver, and tservers write to at least two loggers, you should >> ensure that the size of the disk area is *at least* two times as big >> as your in-memory map size per tserver. I'd say 5x-10x the in-memory >> map size is probably safe. So, if your tservers are running with 2GB >> of memory, then a 10-20GB area is probably more than sufficient. >> >> -- >> Christopher L Tubbs II >> http://gravatar.com/ctubbsii >> >> >> On Wed, Oct 23, 2013 at 1:02 PM, Terry P. wrote: >> > Greetings all, >> > For Accumulo 1.4 where write ahead logs are not yet stored in HDFS, does >> > anyone have guidancewith respect to sizing the walog area? What exactly >> > triggers when write ahead logs get removed? What might cause them to >> > hang >> > around for an extended period of time (as in under abnormal >> > circumstances)? >> > >> > The system this applies to will see an ingest rate of approximately 2000 >> > docs per second averaging 1-2K each (broken out into 12 columns each, so >> > 24,000 entries per second) across 6 tabletserver nodes. >> > >> > Thanks in advance, >> > Terry > >