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 ED8117F5A for ; Sun, 6 Nov 2011 00:29:16 +0000 (UTC) Received: (qmail 61627 invoked by uid 500); 6 Nov 2011 00:29:16 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 61601 invoked by uid 500); 6 Nov 2011 00:29:16 -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 61593 invoked by uid 99); 6 Nov 2011 00:29:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Nov 2011 00:29:16 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,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; Sun, 06 Nov 2011 00:29:14 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 6FD5D332F0 for ; Sun, 6 Nov 2011 00:28:53 +0000 (UTC) Date: Sun, 6 Nov 2011 00:28:53 +0000 (UTC) From: "Phabricator (Commented) (JIRA)" To: issues@hbase.apache.org Message-ID: <984955280.3914.1320539333459.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1104803498.57312.1320353612311.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HBASE-4742) Split dead server's log in parallel 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-4742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13144877#comment-13144877 ] Phabricator commented on HBASE-4742: ------------------------------------ Kannan has commented on the revision "[jira] [HBASE-4742] Split dead server's log in parallel". In practice, the actual log splitting will happen in region server... so at the master level it is only going to consume as many threads as concurrently dead region servers... but the threads won't really be doing much expensive work. I would imagine it would to spawn say even 1000 threads without much adverse affect. Having said that, if region servers are repeatedly starting/dying etc. it could end in some degenerate cases where things could grow unbounded and take the master down. So limiting this seems the safer thing to do. Liyin: In practice, while I think what you have is just fine and unlikely to cause any serious issues... does it complicate the design too much to back this by a threadpool backed with a queue and set the limit pretty high to say 1000? If the changes are not too intrusive, I would suggest doing the threadpool. If more involved, we can layer that in in a second pass. regards, Kannan REVISION DETAIL https://reviews.facebook.net/D237 > Split dead server's log in parallel > ----------------------------------- > > Key: HBASE-4742 > URL: https://issues.apache.org/jira/browse/HBASE-4742 > Project: HBase > Issue Type: Improvement > Reporter: Liyin Tang > Assignee: Liyin Tang > Attachments: D237.1.patch, D237.2.patch, D237.3.patch, D237.4.patch > > > When one region server goes down, the master will shutdown the region server and split its log. > However, splitting log is a blocking call and it would take some time. > If more than one region server go down, the master will split its log one by one, which is not efficient. > Since we have the distributed log split, we could split these logs from the dead servers in parallel. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira