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 BE8C818C44 for ; Wed, 6 Jan 2016 18:14:58 +0000 (UTC) Received: (qmail 91653 invoked by uid 500); 6 Jan 2016 18:14:58 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 91583 invoked by uid 500); 6 Jan 2016 18:14:58 -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 91571 invoked by uid 99); 6 Jan 2016 18:14:57 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jan 2016 18:14:57 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 482BAC0DE0 for ; Wed, 6 Jan 2016 18:14:57 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.879 X-Spam-Level: ** X-Spam-Status: No, score=2.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id YCok4CafJQeo for ; Wed, 6 Jan 2016 18:14:56 +0000 (UTC) Received: from mail-ob0-f169.google.com (mail-ob0-f169.google.com [209.85.214.169]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 1861A231B5 for ; Wed, 6 Jan 2016 18:14:56 +0000 (UTC) Received: by mail-ob0-f169.google.com with SMTP id ba1so305971645obb.3 for ; Wed, 06 Jan 2016 10:14:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=vUOZuF1XGhIi67dHXiZ/a8U4mfcwp0ufC3W6Ge1Y+oU=; b=CtZjiTsfAebgkK+yQJ34kom+H82R3TpWOSOqvb2nX7eXqSZHybXZ1RRQpV7pCHQdUI a/V6622nBl5XSe5L3L1w+Z8+n0/HbE1Xx5RGwPnm7wAJ2ODq2RiVzBNMvLwFagwlhuVt jF/Gcy3U9m6zq4zCERrmBE2C+wzC6CAD018gtUW8xx/n0PotPxytTF1825uyIBOv8xPY eswv/PDIyb5A13nVzKrWwLMQVWqwNk8hZaItfY9/SZNIr8cd6CBQxnmXyTAFwBIKYXsw C3xTCt8pQEQ4sWjddTkRzHs8IiahJ3bgjedcuS+DmVGFKAp3j+vvCKcXBj9/jTkw3z/4 55pA== X-Received: by 10.60.51.70 with SMTP id i6mr73246878oeo.3.1452104089287; Wed, 06 Jan 2016 10:14:49 -0800 (PST) MIME-Version: 1.0 Received: by 10.202.51.87 with HTTP; Wed, 6 Jan 2016 10:14:19 -0800 (PST) In-Reply-To: References: From: Mikhail Antonov Date: Wed, 6 Jan 2016 10:14:19 -0800 Message-ID: Subject: Re: identifying source of region split request To: "dev@hbase.apache.org" Content-Type: multipart/alternative; boundary=001a11c301cc6b43c70528ae5440 --001a11c301cc6b43c70528ae5440 Content-Type: text/plain; charset=UTF-8 Adding this tracing information to know who initiated split is in general useful thing. Right now though I'm not sure I see how that would help to make better normalization decisions? Region split failure implies underlying FS issue? Any examples/ideas? Kind of..collect statistics to blacklist some RSs with high failure rate and don't attempt to split regions hosted there in future? On Tue, Jan 5, 2016 at 2:55 PM, Ted Yu wrote: > Hi, > I recently worked on improving region normalization feature. > > If region split request triggered by the execution of > SplitNormalizationPlan fails, there is no way of knowing whether the failed > split originated from region normalization. > Such association would give RegionNormalizer information so that it can > make better normalization decisions in the subsequent invocations. > > One enhancement I can think of is to embed metadata in SplitRequest which > gets passed through RegionStateTransitionContext when > RegionServerServices#reportRegionStateTransition() is called. > This way, RegionStateListener can be notified with the metadata (id of the > requester). > > Comment is welcome. > -- Thanks, Michael Antonov --001a11c301cc6b43c70528ae5440--