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 6F0BF64FA for ; Thu, 9 Jun 2011 12:31:22 +0000 (UTC) Received: (qmail 28401 invoked by uid 500); 9 Jun 2011 12:31:22 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 28370 invoked by uid 500); 9 Jun 2011 12:31:22 -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 28362 invoked by uid 99); 9 Jun 2011 12:31:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Jun 2011 12:31:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Jun 2011 12:31:20 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 0F75810A6B6 for ; Thu, 9 Jun 2011 12:30:59 +0000 (UTC) Date: Thu, 9 Jun 2011 12:30:59 +0000 (UTC) From: "mingjian (JIRA)" To: issues@hbase.apache.org Message-ID: <354986881.6690.1307622659059.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <828631395.3593.1307549399377.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HBASE-3963) Schedule all log-spliiting at startup all at once MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-3963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] mingjian updated HBASE-3963: ---------------------------- Attachment: schedule-all-splitlog.patch modified the function "splitLog(final String serverName)" to "splitLog(final List serverName)". > Schedule all log-spliiting at startup all at once > ------------------------------------------------- > > Key: HBASE-3963 > URL: https://issues.apache.org/jira/browse/HBASE-3963 > Project: HBase > Issue Type: Improvement > Reporter: Prakash Khemani > Assignee: Prakash Khemani > Attachments: schedule-all-splitlog.patch > > > When distributed log splitting is enabled then it is better to call splitLog() for all region servers simultaneously. A large number of splitlog tasks will get scheduled - one for each log file. But a splitlog-worker (region server) executes only one task at a time and there shouldn't be a danger of DFS overload. Scheduling all the tasks at once ensures maximum parallelism. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira