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 5AEA1200C1E for ; Fri, 17 Feb 2017 23:42:07 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 599FF160B57; Fri, 17 Feb 2017 22:42:07 +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 A420C160B46 for ; Fri, 17 Feb 2017 23:42:06 +0100 (CET) Received: (qmail 73353 invoked by uid 500); 17 Feb 2017 22:42:05 -0000 Mailing-List: contact reviews-help@impala.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list reviews@impala.incubator.apache.org Received: (qmail 73342 invoked by uid 99); 17 Feb 2017 22:42:05 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Feb 2017 22:42:05 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 2304C1857AE for ; Fri, 17 Feb 2017 22:42:05 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.362 X-Spam-Level: X-Spam-Status: No, score=0.362 tagged_above=-999 required=6.31 tests=[RDNS_DYNAMIC=0.363, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id CEj7gqk3dmJV for ; Fri, 17 Feb 2017 22:42:04 +0000 (UTC) Received: from ip-10-146-233-104.ec2.internal (ec2-75-101-130-251.compute-1.amazonaws.com [75.101.130.251]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 5F8505F36C for ; Fri, 17 Feb 2017 22:42:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by ip-10-146-233-104.ec2.internal (8.14.4/8.14.4) with ESMTP id v1HMg2ts009623; Fri, 17 Feb 2017 22:42:02 GMT Message-Id: <201702172242.v1HMg2ts009623@ip-10-146-233-104.ec2.internal> Date: Fri, 17 Feb 2017 22:42:01 +0000 From: "Dimitris Tsirogiannis (Code Review)" To: impala-cr@cloudera.com, reviews@impala.incubator.apache.org CC: Henry Robinson , Bharath Vissapragada Reply-To: dtsirogiannis@cloudera.com X-Gerrit-MessageType: comment Subject: =?UTF-8?Q?=5BImpala-ASF-CR=5D_IMPALA-4885=3A_Expose_Jvm_thread_info_in_web_UI=0A?= X-Gerrit-Change-Id: Id497043ab33dcf107a562f0b1ccd5c46095d397f X-Gerrit-ChangeURL: X-Gerrit-Commit: 0372ff65eabb23b8923c42d464d964943f3798cc In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Content-Disposition: inline User-Agent: Gerrit/2.12.7 archived-at: Fri, 17 Feb 2017 22:42:07 -0000 Dimitris Tsirogiannis has posted comments on this change. Change subject: IMPALA-4885: Expose Jvm thread info in web UI ...................................................................... Patch Set 1: (10 comments) Thanks for the suggestions Henry. New screenshots are here: https://drive.google.com/file/d/0B7VW0hRyzVlKTzZPR3VEVlVEYWc/view?usp=sharing https://drive.google.com/file/d/0B7VW0hRyzVlKOXowTUM2QWVySm8/view?usp=sharing http://gerrit.cloudera.org:8080/#/c/6013/1/be/src/util/thread.cc File be/src/util/thread.cc: Line 178: void ThreadOverviewUrlCallback(bool track_jvm_threads, > Shouldn't this go above ThreadGroupUrlCallback() to match with the sample j No, this is the output of the overview callback. PS1, Line 194: [this, track_jvm_threads] (const Webserver::ArgumentMap& args, Document* doc) { : this->ThreadOverviewUrlCallback(track_jvm_threads, args, doc) > Make this a method? MakeUrlCallBack or something, used multiple times. This has changed. PS1, Line 209: RegisterUrlCallback > Rather than adding another top-level link, consider making two tabs on the Done PS1, Line 234: bool track_jvm_threads, > how about just making this a member of ThreadMgr? Actually - I don't think Done Line 260: << status.GetDetail(); > return, then remove else { } Done PS1, Line 262: jvmThreadsVal > C++ naming styles power of habit.. :) Done PS1, Line 327: INFO > warn/error? How about bubbling this error up to the web endpoint by setting Changed it to WARN. What is the "error" member? http://gerrit.cloudera.org:8080/#/c/6013/1/be/src/util/thread.h File be/src/util/thread.h: Line 191: /// the "thread-manager." > Describe track_jvm_threads in the method comment? Done http://gerrit.cloudera.org:8080/#/c/6013/1/common/thrift/Frontend.thrift File common/thrift/Frontend.thrift: Line 720: // Summary of a JVM thread. Includes stacktraces, locked monitors > Do you think its good to include the locked synchronizers or the lock it is It already does that. http://gerrit.cloudera.org:8080/#/c/6013/1/www/jvm-threadz.tmpl File www/jvm-threadz.tmpl: PS1, Line 35: Is n > Native Done -- To view, visit http://gerrit.cloudera.org:8080/6013 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: comment Gerrit-Change-Id: Id497043ab33dcf107a562f0b1ccd5c46095d397f Gerrit-PatchSet: 1 Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-Owner: Dimitris Tsirogiannis Gerrit-Reviewer: Bharath Vissapragada Gerrit-Reviewer: Dimitris Tsirogiannis Gerrit-Reviewer: Henry Robinson Gerrit-HasComments: Yes