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 D880E200C7B for ; Sat, 20 May 2017 20:48:09 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D6F1E160BBE; Sat, 20 May 2017 18:48:09 +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 28914160BA7 for ; Sat, 20 May 2017 20:48:09 +0200 (CEST) Received: (qmail 75227 invoked by uid 500); 20 May 2017 18:48:08 -0000 Mailing-List: contact dev-help@phoenix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@phoenix.apache.org Delivered-To: mailing list dev@phoenix.apache.org Received: (qmail 75216 invoked by uid 99); 20 May 2017 18:48:08 -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; Sat, 20 May 2017 18:48:08 +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 C26721A02FC for ; Sat, 20 May 2017 18:48:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 76G4xkqGahWD for ; Sat, 20 May 2017 18:48:06 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 7B64F5F477 for ; Sat, 20 May 2017 18:48:06 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id BFE9BE05CE for ; Sat, 20 May 2017 18:48:05 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 0404221B56 for ; Sat, 20 May 2017 18:48:05 +0000 (UTC) Date: Sat, 20 May 2017 18:48:05 +0000 (UTC) From: "Josh Elser (JIRA)" To: dev@phoenix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (PHOENIX-3655) Metrics for PQS MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 20 May 2017 18:48:10 -0000 [ https://issues.apache.org/jira/browse/PHOENIX-3655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16018587#comment-16018587 ] Josh Elser commented on PHOENIX-3655: ------------------------------------- Let me try to clear the air here, I think my previous comment was a little too snark-laden which, admittedly, is partially a result of me having a bad few weeks and not taking the time to edit my response a few times before posting. I have a pretty specific view of what metrics for PQS should look like. These expectations stem from how I want to leverage these metrics, based on a bigger picture (HDFS and HBase metrics). These lead me to pushing you, Rahul, to a specific implementation that would satisfy your goals but also lead towards my big picture. What I meant to point out earlier is that I am just one voice. I don't consider myself, nor desire to be, held up on some pedestal as an expert in this area. I am just a person with _some_ knowledge and vested interest on the subject. If others in the Phoenix community think that this feature should go in a different direction than I do, great. I am truly not offended by that. I can always build something that scratches my own itch. My comment about having someone take over on reviewing was solely based on that point: if the ideal direction I see is not what others see, I'm not the one to review it because I will just derail the process. In short, I didn't mean to be offending anyone here with my opinion. As I've previously stated a few times, if there are others who are happy with Rahul's current contribution, great. Please step up and help shepherd the changes in -- I have no desire to fight a veto battle over an implementation I don't think is optimal. I will not be offended. I hope I haven't hurt any feelings with a heavy hand, I only intended to be pragmatic about the situation. > Metrics for PQS > --------------- > > Key: PHOENIX-3655 > URL: https://issues.apache.org/jira/browse/PHOENIX-3655 > Project: Phoenix > Issue Type: New Feature > Affects Versions: 4.8.0 > Environment: Linux 3.13.0-107-generic kernel, v4.9.0-HBase-0.98 > Reporter: Rahul Shrivastava > Assignee: Rahul Shrivastava > Fix For: 4.9.0 > > Attachments: MetricsforPhoenixQueryServerPQS.pdf > > Original Estimate: 240h > Remaining Estimate: 240h > > Phoenix Query Server runs a separate process compared to its thin client. Metrics collection is currently done by PhoenixRuntime.java i.e. at Phoenix driver level. We need the following > 1. For every jdbc statement/prepared statement/ run by PQS , we need capability to collect metrics at PQS level and push the data to external sink i.e. file, JMX , other external custom sources. > 2. Besides this global metrics could be periodically collected and pushed to the sink. > 2. PQS can be configured to turn on metrics collection and type of collect ( runtime or global) via hbase-site.xml > 3. Sink could be configured via an interface in hbase-site.xml. > All metrics definition https://phoenix.apache.org/metrics.html -- This message was sent by Atlassian JIRA (v6.3.15#6346)