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 376BF200B85 for ; Thu, 1 Sep 2016 06:15:20 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 32E0C160AB4; Thu, 1 Sep 2016 04:15:15 +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 7CE30160AB5 for ; Thu, 1 Sep 2016 06:15:14 +0200 (CEST) Received: (qmail 59365 invoked by uid 500); 1 Sep 2016 04:15:08 -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 59263 invoked by uid 99); 1 Sep 2016 04:15:08 -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, 01 Sep 2016 04:15:08 +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 E13E9186F76 for ; Thu, 1 Sep 2016 04:15:07 +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-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id bVsnczIAccKK for ; Thu, 1 Sep 2016 04:15:05 +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-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id B164C5FADB for ; Thu, 1 Sep 2016 04:15:05 +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 u814F5W2018054; Thu, 1 Sep 2016 04:15:05 GMT Message-Id: <201609010415.u814F5W2018054@ip-10-146-233-104.ec2.internal> Date: Thu, 1 Sep 2016 04:15:05 +0000 From: "Internal Jenkins (Code Review)" To: Bharath Vissapragada , anujphadke , impala-cr@cloudera.com, dev@impala.incubator.apache.org X-Gerrit-MessageType: merged Subject: =?UTF-8?Q?=5BImpala-ASF-CR=5D_IMPALA-4020=3A_Handle_external_conflicting_changes_to_HMS_gracefully=0A?= X-Gerrit-Change-Id: Ic228efbcceb9ef6c165d0d9aeef7202581e3e46a X-Gerrit-ChangeURL: X-Gerrit-Commit: 5f3ee38bf4106fe4beb24e4f5237047decead3fe 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: Thu, 01 Sep 2016 04:15:20 -0000 Internal Jenkins has submitted this change and it was merged. Change subject: IMPALA-4020: Handle external conflicting changes to HMS gracefully ...................................................................... IMPALA-4020: Handle external conflicting changes to HMS gracefully Currently Catalog can't handle conflicting changes to HMS' databases from external clients while running invalidate metadata operation. For example, if a database is dropped by a client external to Impala, while the invalidate metadata is in process, Catalog aborts the metadata load. This commit fixes this issue by handling appropriate exceptions when HMS operations fail and only ignores the load for that particular database. Change-Id: Ic228efbcceb9ef6c165d0d9aeef7202581e3e46a Reviewed-on: http://gerrit.cloudera.org:8080/4161 Reviewed-by: Dimitris Tsirogiannis Reviewed-by: Marcel Kornacker Tested-by: Internal Jenkins --- M fe/src/main/java/com/cloudera/impala/catalog/CatalogServiceCatalog.java 1 file changed, 61 insertions(+), 31 deletions(-) Approvals: Marcel Kornacker: Looks good to me, approved Internal Jenkins: Verified Dimitris Tsirogiannis: Looks good to me, but someone else must approve -- To view, visit http://gerrit.cloudera.org:8080/4161 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ic228efbcceb9ef6c165d0d9aeef7202581e3e46a Gerrit-PatchSet: 7 Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-Owner: anujphadke Gerrit-Reviewer: Alex Behm Gerrit-Reviewer: Bharath Vissapragada Gerrit-Reviewer: Dimitris Tsirogiannis Gerrit-Reviewer: Henry Robinson Gerrit-Reviewer: Internal Jenkins Gerrit-Reviewer: Marcel Kornacker Gerrit-Reviewer: anujphadke