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 39101200AC8 for ; Tue, 7 Jun 2016 20:00:27 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 37BCF160A36; Tue, 7 Jun 2016 18:00:27 +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 7F45A160968 for ; Tue, 7 Jun 2016 20:00:26 +0200 (CEST) Received: (qmail 61237 invoked by uid 500); 7 Jun 2016 18:00:25 -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 61226 invoked by uid 99); 7 Jun 2016 18:00:25 -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; Tue, 07 Jun 2016 18:00:25 +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 EF48BC0D08 for ; Tue, 7 Jun 2016 18:00:24 +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 mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 34yDKaMGDCsl for ; Tue, 7 Jun 2016 18:00:22 +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 EDF0F5F119 for ; Tue, 7 Jun 2016 18:00:21 +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 u57I0JTe026469; Tue, 7 Jun 2016 18:00:19 GMT Message-Id: <201606071800.u57I0JTe026469@ip-10-146-233-104.ec2.internal> Date: Tue, 7 Jun 2016 18:00:15 +0000 From: "Bikramjeet Vig (Code Review)" To: impala-cr@cloudera.com, dev@impala.incubator.apache.org CC: Dimitris Tsirogiannis Reply-To: bikramjeet.vig@cloudera.com X-Gerrit-MessageType: newpatchset Subject: =?UTF-8?Q?=5BImpala-CR=5D=28cdh5-trunk=29_IMPALA-3606=3A_Fix_for_Java_NPE_when_trying_to_add_an_existing_partition=0A?= X-Gerrit-Change-Id: Ic829e8580c14ed88adf7a0d1571381526b18a206 X-Gerrit-ChangeURL: X-Gerrit-Commit: 4d47be2ca92c7453cdc87e43c11814b48a0c4a60 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: Tue, 07 Jun 2016 18:00:27 -0000 Bikramjeet Vig has uploaded a new patch set (#2). Change subject: IMPALA-3606: Fix for Java NPE when trying to add an existing partition ...................................................................... IMPALA-3606: Fix for Java NPE when trying to add an existing partition A NPE is also encountered when trying to drop a partition which does not exist. In these cases the fix is to return an empty TCatalogUpdateResult that contains no objects. Change-Id: Ic829e8580c14ed88adf7a0d1571381526b18a206 --- M fe/src/main/java/com/cloudera/impala/service/CatalogOpExecutor.java 1 file changed, 11 insertions(+), 6 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala refs/changes/24/3324/2 -- To view, visit http://gerrit.cloudera.org:8080/3324 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: Ic829e8580c14ed88adf7a0d1571381526b18a206 Gerrit-PatchSet: 2 Gerrit-Project: Impala Gerrit-Branch: cdh5-trunk Gerrit-Owner: Bikramjeet Vig Gerrit-Reviewer: Dimitris Tsirogiannis