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 19407200BC0 for ; Tue, 15 Nov 2016 16:54:13 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 17CC0160AF2; Tue, 15 Nov 2016 15:54:13 +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 610A5160B03 for ; Tue, 15 Nov 2016 16:54:12 +0100 (CET) Received: (qmail 5734 invoked by uid 500); 15 Nov 2016 15:54:11 -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 5702 invoked by uid 99); 15 Nov 2016 15:54:11 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Nov 2016 15:54:11 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id F3BC9C79E9 for ; Tue, 15 Nov 2016 15:54:10 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.363 X-Spam-Level: X-Spam-Status: No, score=0.363 tagged_above=-999 required=6.31 tests=[RDNS_DYNAMIC=0.363, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id P70IntbyS_FD for ; Tue, 15 Nov 2016 15:54:09 +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 54C8B5FCEA for ; Tue, 15 Nov 2016 15:54:01 +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 uAFFrwMH029212; Tue, 15 Nov 2016 15:53:58 GMT Date: Tue, 15 Nov 2016 15:53:58 +0000 From: "Attila Jeges (Code Review)" To: impala-cr@cloudera.com, reviews@impala.incubator.apache.org Message-ID: Reply-To: attilaj@cloudera.com X-Gerrit-MessageType: newchange Subject: =?UTF-8?Q?=5BImpala-ASF-CR=5D_IMPALA-4278=3A_Don=27t_abort_Catalog_startup_quickly_if_HMS_is_not_present=0A?= X-Gerrit-Change-Id: I546d8fe9836004832ae40110c9fe22b3e704e11b X-Gerrit-ChangeURL: X-Gerrit-Commit: 6e1b9145978cdaf7f4da945289ac55423aa50490 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: Tue, 15 Nov 2016 15:54:13 -0000 Attila Jeges has uploaded a new change for review. http://gerrit.cloudera.org:8080/5095 Change subject: IMPALA-4278: Don't abort Catalog startup quickly if HMS is not present ...................................................................... IMPALA-4278: Don't abort Catalog startup quickly if HMS is not present This change introduces a new catalogd startup option (init_first_metastore_client_timeout_seconds) that specifies the time in seconds catalogd should spend on retrying to establish a connection to HMS the first time on startup before giving up and exiting fatally. Setting this startup option to a value that is greater than the HMS startup time will allow CM to start Impala at the same time or even before HMS. The default value of init_first_metastore_client_timeout_seconds is 120 seconds. Change-Id: I546d8fe9836004832ae40110c9fe22b3e704e11b --- M be/src/catalog/catalog.cc M be/src/util/backend-gflag-util.cc M common/thrift/BackendGflags.thrift M fe/src/main/java/org/apache/impala/catalog/Catalog.java M fe/src/main/java/org/apache/impala/catalog/CatalogServiceCatalog.java M fe/src/main/java/org/apache/impala/catalog/ImpaladCatalog.java M fe/src/main/java/org/apache/impala/catalog/MetaStoreClientPool.java M fe/src/main/java/org/apache/impala/service/JniCatalog.java M fe/src/test/java/org/apache/impala/testutil/CatalogServiceTestCatalog.java A tests/experiments/test_catalog_hms_failures.py 10 files changed, 292 insertions(+), 48 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/95/5095/1 -- To view, visit http://gerrit.cloudera.org:8080/5095 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I546d8fe9836004832ae40110c9fe22b3e704e11b Gerrit-PatchSet: 1 Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-Owner: Attila Jeges Gerrit-Reviewer: Henry Robinson