Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9E384185B1 for ; Wed, 9 Dec 2015 18:55:11 +0000 (UTC) Received: (qmail 26204 invoked by uid 500); 9 Dec 2015 18:55:11 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 26149 invoked by uid 500); 9 Dec 2015 18:55:11 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 26107 invoked by uid 99); 9 Dec 2015 18:55:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Dec 2015 18:55:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 0C7CF2C1F5C for ; Wed, 9 Dec 2015 18:55:11 +0000 (UTC) Date: Wed, 9 Dec 2015 18:55:11 +0000 (UTC) From: "Enis Soztutar (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-14951) Make hbase.regionserver.maxlogs obsolete MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-14951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15049185#comment-15049185 ] Enis Soztutar commented on HBASE-14951: --------------------------------------- +1. The checkstyle warning is this: {code} hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/FSHLog.java LeftCurlyCheck 0 1 {code} I can fix it in commit. [~eclark], [~saint.ack@gmail.com] FYI. > Make hbase.regionserver.maxlogs obsolete > ---------------------------------------- > > Key: HBASE-14951 > URL: https://issues.apache.org/jira/browse/HBASE-14951 > Project: HBase > Issue Type: Improvement > Reporter: Vladimir Rodionov > Assignee: Vladimir Rodionov > Priority: Minor > Fix For: 2.0.0 > > Attachments: HBASE-14951-v1.patch, HBASE-14951-v2.patch > > > There was a discussion in HBASE-14388 related to maximum number of log files. It was an agreement that we should calculate this number in a code but still need to honor user's setting. > Maximum number of log files now is calculated as following: > maxLogs = HEAP_SIZE * memstoreRatio * 2/ LogRollSize -- This message was sent by Atlassian JIRA (v6.3.4#6332)