Return-Path: X-Original-To: apmail-hbase-dev-archive@www.apache.org Delivered-To: apmail-hbase-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2E45067EB for ; Mon, 30 May 2011 14:11:46 +0000 (UTC) Received: (qmail 31868 invoked by uid 500); 30 May 2011 14:11:45 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 31841 invoked by uid 500); 30 May 2011 14:11:45 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 31833 invoked by uid 99); 30 May 2011 14:11:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 May 2011 14:11:45 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of yuzhihong@gmail.com designates 74.125.83.169 as permitted sender) Received: from [74.125.83.169] (HELO mail-pv0-f169.google.com) (74.125.83.169) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 May 2011 14:11:36 +0000 Received: by pvc12 with SMTP id 12so2020389pvc.14 for ; Mon, 30 May 2011 07:11:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=5fu2a83vK0x44g7dbFUB/0A6efsHH4fPxqu2mKseLdo=; b=Nz59naVqFZT/UbhJ7iUnfMU3oPSO+QxdMv5EaMA8ZSlAKNDutaP4esxrHQJwprefWT 8MA4x5LgTdZ04on06/pxbbMGTC0rJxGpoafBcSrWsvhBQGYZHLzzB74/XbN4yR+vrLNg MbTMycSiBwqgdJ8KBnPS7aEM94aJ84iTyIeSs= 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=bUQ0WJ+mrAvP/E6hXf8MDsTa+Wdt3esLpWfO5fuQ7dZIRbboLKZbh7iisBmoygIXcK cpE//2x1GMpRWrjuOUSEiD5oBebLL98UoJHtiAiDhA9bhFNTwj6Y0iyv5gAwOLaUBQeU lzSOcb/xSnj9UlYTe6Lf2grx5Nf2LpiyiHiOE= MIME-Version: 1.0 Received: by 10.68.38.100 with SMTP id f4mr2011687pbk.126.1306764676024; Mon, 30 May 2011 07:11:16 -0700 (PDT) Received: by 10.68.58.135 with HTTP; Mon, 30 May 2011 07:11:16 -0700 (PDT) In-Reply-To: References: Date: Mon, 30 May 2011 07:11:16 -0700 Message-ID: Subject: Re: Memstore Limit? From: Ted Yu To: dev@hbase.apache.org Content-Type: multipart/alternative; boundary=bcaec520f05351c7da04a47edc11 --bcaec520f05351c7da04a47edc11 Content-Type: text/plain; charset=ISO-8859-1 See https://issues.apache.org/jira/browse/HBASE-3934 Thanks Lars On Mon, May 30, 2011 at 7:02 AM, Lars George wrote: > Hi, > > See below from MemStoreFlusher.java (trunk): > > static long getMemStoreLimit(final long max, final float limit, > final float defaultLimit) { > if (limit >= 0.9f || limit < 0.1f) { > LOG.warn("Setting global memstore limit to default of " + defaultLimit > + > " because supplied value outside allowed range of 0.1 -> 0.9"); > } > return (long)(max * limit); > } > > The log message says it is using defaultLimit, but the code is not. > Should we fix either? > > Lars > --bcaec520f05351c7da04a47edc11--