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 3182C200B40 for ; Fri, 1 Jul 2016 20:59:04 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 301ED160A61; Fri, 1 Jul 2016 18:59:04 +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 8330D160A4D for ; Fri, 1 Jul 2016 20:59:03 +0200 (CEST) Received: (qmail 73418 invoked by uid 500); 1 Jul 2016 18:59:02 -0000 Mailing-List: contact dev-help@impala.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@impala.incubator.apache.org Delivered-To: mailing list dev@impala.incubator.apache.org Received: (qmail 73407 invoked by uid 99); 1 Jul 2016 18:59:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jul 2016 18:59:02 +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 E2F77C02E8 for ; Fri, 1 Jul 2016 18:59:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-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 mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id jQhf87xi3Z8p for ; Fri, 1 Jul 2016 18:59:00 +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 mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id DBC2A5F4E7 for ; Fri, 1 Jul 2016 18:58:59 +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 u61Iwwr1001535; Fri, 1 Jul 2016 18:58:58 GMT Message-Id: <201607011858.u61Iwwr1001535@ip-10-146-233-104.ec2.internal> Date: Fri, 1 Jul 2016 18:58:58 +0000 From: "Henry Robinson (Code Review)" To: Sailesh Mukil , impala-cr@cloudera.com, dev@impala.incubator.apache.org CC: David Knupp , Bharath Vissapragada Reply-To: henry@cloudera.com X-Gerrit-MessageType: comment Subject: =?UTF-8?Q?=5BImpala-CR=5D=28cdh5-trunk=29_IMPALA-1671=3A_Print_time_and_link_to_coordinator_web_UI_once_query_is_submitted_in_shell=0A?= X-Gerrit-Change-Id: I704eb64546e27c367830120241311fea6091266b X-Gerrit-ChangeURL: X-Gerrit-Commit: e318eb86bdf95cf25be0112ae6d55f1fb815a8cb 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.2 archived-at: Fri, 01 Jul 2016 18:59:04 -0000 Henry Robinson has posted comments on this change. Change subject: IMPALA-1671: Print time and link to coordinator web UI once query is submitted in shell ...................................................................... Patch Set 5: (4 comments) Looks pretty close. Can you add a shell test to check that the right things are printed? http://gerrit.cloudera.org:8080/#/c/3507/5/be/src/service/impala-beeswax-server.cc File be/src/service/impala-beeswax-server.cc: Line 67: DECLARE_int32(webserver_port); Remove http://gerrit.cloudera.org:8080/#/c/3507/5/be/src/util/webserver.h File be/src/util/webserver.h: PS5, Line 91: BuildUrlString URLs are strings, really, so I think it's fine just to call this "Url()". http://gerrit.cloudera.org:8080/#/c/3507/5/shell/impala_shell.py File shell/impala_shell.py: PS5, Line 863: return long line PS5, Line 873: self._print_if_verbose( : "Query details Web UI: %s/query_plan?query_id=%s" % : (coordinator.webserver_address, self.last_query_handle.id)) I can't remember - what happens here if the query takes a long time to plan (i.e. cold metadata cache)? Will this take a long time to be printed? -- To view, visit http://gerrit.cloudera.org:8080/3507 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: comment Gerrit-Change-Id: I704eb64546e27c367830120241311fea6091266b Gerrit-PatchSet: 5 Gerrit-Project: Impala Gerrit-Branch: cdh5-trunk Gerrit-Owner: Sailesh Mukil Gerrit-Reviewer: Bharath Vissapragada Gerrit-Reviewer: David Knupp Gerrit-Reviewer: Henry Robinson Gerrit-Reviewer: Sailesh Mukil Gerrit-HasComments: Yes