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 6899FCB5C for ; Mon, 24 Jun 2013 17:33:21 +0000 (UTC) Received: (qmail 3234 invoked by uid 500); 24 Jun 2013 17:33:19 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 3194 invoked by uid 500); 24 Jun 2013 17:33:18 -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 3183 invoked by uid 99); 24 Jun 2013 17:33:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jun 2013 17:33:17 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ddlatham@gmail.com designates 209.85.215.42 as permitted sender) Received: from [209.85.215.42] (HELO mail-la0-f42.google.com) (209.85.215.42) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jun 2013 17:33:10 +0000 Received: by mail-la0-f42.google.com with SMTP id eb20so10928999lab.15 for ; Mon, 24 Jun 2013 10:32:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type; bh=vrczC2SThJDj0huU7hccZJyazAvcuCMueLEMgZbu5sE=; b=BHdpejCEZqUAf1tdLNnVN9AtO06dqSEKifBKdxuRJ1VFb/PchsRF7BNe6Ou45LvEwk 7VAa/OBNR132jglIzIxjUYKh4il8HjPgkMHwtZir36/YLc/nsI++IEbJdFwcXhNqdIP7 bcpla0oiSkYdaEJwsnzMIKFi5/xk2GcEeHDN6fxhHBBIL7fjodmHz+k4anb0BLcr+iQK zvKygbq5fnAxdDJ0xa2x6zjbnnAvkpigGl82ekxaBLxBPyMZlLHoZQPE1+lSPUuFJz74 JjNbcrJSjfvcXV9+utO6p9U3TgSbwNxVK7zijAmuNwyBsHnDBrK7/VIIygLhiUjQd14s +ogQ== X-Received: by 10.152.87.234 with SMTP id bb10mr11963882lab.55.1372095169352; Mon, 24 Jun 2013 10:32:49 -0700 (PDT) MIME-Version: 1.0 Sender: ddlatham@gmail.com Received: by 10.112.6.73 with HTTP; Mon, 24 Jun 2013 10:32:29 -0700 (PDT) From: Dave Latham Date: Mon, 24 Jun 2013 10:32:29 -0700 X-Google-Sender-Auth: JjqoiIsaZ9bvdQkDX7xV8csiZqU Message-ID: Subject: region opening slow on large tables To: dev@hbase.apache.org Content-Type: multipart/alternative; boundary=001a11c34f702ada1b04dfe9cd42 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c34f702ada1b04dfe9cd42 Content-Type: text/plain; charset=ISO-8859-1 I'd really appreciate some input on HBASE-8778 from the developers. Short summary: When opening regions, the region server (via FSTableDescriptors) scans the entire table directory to find the latest table descriptor file. On large tables this can make region opening slow as it invokes many round trips to the NameNode and a lot of data transferred. On our production cluster it really slows down our MTTR as it takes 10 minutes to open 200+ regions after logs are split. I put a patch up there that is solving the issue for us, but not sure if it's the direction the community would want to go. Thanks for taking a look, Dave --001a11c34f702ada1b04dfe9cd42--