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 58526200C40 for ; Thu, 23 Mar 2017 19:28:34 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 56815160B83; Thu, 23 Mar 2017 18:28:34 +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 9B6EF160B68 for ; Thu, 23 Mar 2017 19:28:33 +0100 (CET) Received: (qmail 76702 invoked by uid 500); 23 Mar 2017 18:28:31 -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 76526 invoked by uid 99); 23 Mar 2017 18:28:30 -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; Thu, 23 Mar 2017 18:28:30 +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 4969E180A02 for ; Thu, 23 Mar 2017 18:28:30 +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 MQf64GObhe9B for ; Thu, 23 Mar 2017 18:28:29 +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 B1D1E5FC5A for ; Thu, 23 Mar 2017 18:28:28 +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 v2NISR5F027960; Thu, 23 Mar 2017 18:28:27 GMT Message-Id: <201703231828.v2NISR5F027960@ip-10-146-233-104.ec2.internal> Date: Thu, 23 Mar 2017 18:28:27 +0000 From: "Henry Robinson (Code Review)" To: Dimitris Tsirogiannis , impala-cr@cloudera.com, reviews@impala.incubator.apache.org CC: Matthew Jacobs , Marcel Kornacker Reply-To: henry@cloudera.com X-Gerrit-MessageType: comment Subject: =?UTF-8?Q?=5BImpala-ASF-CR=5D_IMPALA-4041=3A_Limit_catalog_and_admission_control_updates_to_coordinators=0A?= X-Gerrit-Change-Id: I5f2c74abdbcd60ac050efa323616bd41182ceff3 X-Gerrit-ChangeURL: X-Gerrit-Commit: 63d080c1f1843ff31984ea4a0c2fa00e7b3d81ac 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: Thu, 23 Mar 2017 18:28:34 -0000 Henry Robinson has posted comments on this change. Change subject: IMPALA-4041: Limit catalog and admission control updates to coordinators ...................................................................... Patch Set 4: (9 comments) Please consider adding something to the root web page (and to the log) saying if an Impala is running in coordinator mode. http://gerrit.cloudera.org:8080/#/c/6344/4/be/src/service/impala-server.cc File be/src/service/impala-server.cc: Line 1588: LOG(WARNING) << "Failed to convert hostname " << hostname << " to IP address"; log status? Line 1589: return; > do you know what the effect of this will be? it's a bit weird not to be abl It means that the backend won't be available for execution. It's possible that FLAGS_hostname is not set correctly, but also that there's a DNS outage or some other problem. PS4, Line 1601: address nit: descriptor PS4, Line 1604: } : if (status.ok()) { else { } PS4, Line 1909: NULL nullptr PS4, Line 1931: NULL nullptr http://gerrit.cloudera.org:8080/#/c/6344/4/be/src/service/impala-server.h File be/src/service/impala-server.h: PS4, Line 438: In nit: should be To, not In http://gerrit.cloudera.org:8080/#/c/6344/4/bin/start-impala-cluster.py File bin/start-impala-cluster.py: PS4, Line 40: 3 is there any way to make this default == the value of '-s'? If I run -s1 right now, won't this fail the check on line 340? If not, I think removing that check is fine - doesn't matter if we ask for more coordinators than we get. http://gerrit.cloudera.org:8080/#/c/6344/4/tests/custom_cluster/test_coordinators.py File tests/custom_cluster/test_coordinators.py: Line 83: client2.close() can you add a check that the worker has not received the catalog metadata? GET /catalog or something. -- To view, visit http://gerrit.cloudera.org:8080/6344 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: comment Gerrit-Change-Id: I5f2c74abdbcd60ac050efa323616bd41182ceff3 Gerrit-PatchSet: 4 Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-Owner: Dimitris Tsirogiannis Gerrit-Reviewer: Dimitris Tsirogiannis Gerrit-Reviewer: Henry Robinson Gerrit-Reviewer: Marcel Kornacker Gerrit-Reviewer: Matthew Jacobs Gerrit-HasComments: Yes