Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 76273200CDD for ; Mon, 7 Aug 2017 09:19:33 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 74868164C2C; Mon, 7 Aug 2017 07:19:33 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id BA225164C2B for ; Mon, 7 Aug 2017 09:19:32 +0200 (CEST) Received: (qmail 61516 invoked by uid 500); 7 Aug 2017 07:19:30 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 61375 invoked by uid 99); 7 Aug 2017 07:19:30 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Aug 2017 07:19:30 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id CC3491A0042; Mon, 7 Aug 2017 07:19:29 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.379 X-Spam-Level: X-Spam-Status: No, score=0.379 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id NrznTaZnA6kw; Mon, 7 Aug 2017 07:19:28 +0000 (UTC) Received: from mail-yw0-f180.google.com (mail-yw0-f180.google.com [209.85.161.180]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id D467A60E3A; Mon, 7 Aug 2017 07:19:27 +0000 (UTC) Received: by mail-yw0-f180.google.com with SMTP id s143so37914867ywg.1; Mon, 07 Aug 2017 00:19:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=r4N7H5EkqzdKybibAKXRXBBGyTlfZ2iFwHf+fZA2O+E=; b=flm1gZRWrnujP9qmmnHlGq/7OQkSg4N4TD/7b+k/ri0WvtkJ4vaVUvmE20kOn2uUel KE7WPJDKby9hR5MTUCq0yOpmwirJKd/JLp77hSRhKFVJ/AibHOACnzxA2sdi9/pCmG5O cvfZS5Sfbb+99EbTkU45W/rxkohPiL/SzRdpflW3ntZ7VkgxfskjnaKaXxMmBRiTj1Vi iT+hPar7BD+8RiAPiiQ7LC8WHoap5q9EhDYnbx+mWV92xX1ykhHmEuuSdojNYz/j6OKx kGRiEGP56GI+nCanywQf9I4VFb9UgU7if0A62aPJlz1gmesFarB/3UC+BiskT9cRW01f 0N+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=r4N7H5EkqzdKybibAKXRXBBGyTlfZ2iFwHf+fZA2O+E=; b=bMKwBwp+LJCINozCdIiXZTYojHaq4Iw18GVF+wFR7jXXGa72bG1TAVco/cBx/tBrmd KqOTIL4qnEP6kb+XkoqKfbEmuGbuXt/wq2z3EtgkIm9oZr1K8Mz2y1XkrqqTSYvvEpIr xicl9jugm+XShgVOS0etjZ5oy+vAvzRWMARBzV1CFC/r8T5GMogBz+CGKV5qlsWaVIdh Fa3mE3cTM55MUhSbojHwr/UCbGnZjaBLrMhx2gYxHXM0mGXCCW+/KnkaCA5pGUL+Ld3G Ou3oFQpr94EkfLoi8/AIuk8pG4AnVFyUxIU3J6gMiGB/z8HwKaKr5CeiZUKFjAEOuetW YScw== X-Gm-Message-State: AHYfb5iuFfRRJ1osGGigBrU9eWj/PYzMRP+igVzGIQ57PIJar+m37m6B 1vwaoUo3PDtscSrkz/AXX4YgZ0IcgRYfsuM= X-Received: by 10.129.138.197 with SMTP id a188mr6476274ywg.310.1502090366661; Mon, 07 Aug 2017 00:19:26 -0700 (PDT) MIME-Version: 1.0 Received: by 10.13.211.199 with HTTP; Mon, 7 Aug 2017 00:19:26 -0700 (PDT) In-Reply-To: References: From: Anoop John Date: Mon, 7 Aug 2017 12:49:26 +0530 Message-ID: Subject: Re: [DISCUSS] Planning changes on RegionServer totalRequestCount metrics To: "dev@hbase.apache.org" Cc: Hbase-User Content-Type: text/plain; charset="UTF-8" archived-at: Mon, 07 Aug 2017 07:19:33 -0000 Sorry for being late here Yu Li. Regarding counting the rows (for the new metric) in multi.. There might be 2 Actions in multi request for the same row. This is possible some time. I dont think we should check that and try to make it perfect. That will have perf penalty also. So just saying that we will have some possible inconsistency even after. May be we can say how many actions in multi not rows affected! any better name ? On Mon, Aug 7, 2017 at 8:07 AM, Yu Li wrote: > Thanks for chiming in @stack and @Jerry, will try to add a good release > note when the work done. > > Since already more than 72 hours passed and no objections, I'd like to call > this discussion closed and apply the change in HBASE-18469. Thanks. > > Best Regards, > Yu > > On 4 August 2017 at 13:59, stack wrote: > >> +1 >> >> We need a fat release note on this change so operators can quickly learn >> why traffic went down on upgrade. >> >> S >> >> On Aug 3, 2017 14:49, "Yu Li" wrote: >> >> > Dear all, >> > >> > Recently in HBASE-18469 > jira/browse/HBASE-18469 >> > > >> > we found some inconsistency on regionserver request related metrics, >> > including: >> > 1. totalRequestCount could be less than readRequestCount+ >> writeRequestCount >> > 2. For multi request, we count action count into totalRequestCount, while >> > for scan with caching we count only one. >> > >> > To fix the inconsistency, we plan to make below changes: >> > 1. Make totalRequestCount only counts rpc request, thus multi request >> will >> > only count as one for totalRequestCount >> > 2. Introduce a new metrics in name of "totalRowsRequestCount", which will >> > count the DML workloads on RS by row-level action, and for this metrics >> we >> > will count how many rows included for multi and scan-with-caching >> request. >> > >> > After the change, there won't be any compatibility issue -- existing >> > monitoring system could still work -- only that totalRequestCount will be >> > less than previous. And it's recommended to use totalRowsRequestCount to >> > check the RS DML workload. >> > >> > Please kindly let us know if you have any different idea or suggestion >> > (operators' opinion is especially welcomed). >> > >> > Let's make this discussion open for 72 hours and will make the change if >> no >> > objections. >> > >> > Thanks! >> > >> > Best Regards, >> > Yu >> > >>