Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3036E17BA0 for ; Sat, 1 Nov 2014 18:23:35 +0000 (UTC) Received: (qmail 24516 invoked by uid 500); 1 Nov 2014 18:23:34 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 24371 invoked by uid 500); 1 Nov 2014 18:23:34 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 24062 invoked by uid 500); 1 Nov 2014 18:23:34 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 24058 invoked by uid 99); 1 Nov 2014 18:23:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Nov 2014 18:23:34 +0000 Date: Sat, 1 Nov 2014 18:23:34 +0000 (UTC) From: "Ted Yu (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-8594) Wrong condition in SettableConfigUpdater#setHiveConfWhiteList() MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-8594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Yu updated HIVE-8594: ------------------------- Attachment: hive-8594.txt > Wrong condition in SettableConfigUpdater#setHiveConfWhiteList() > --------------------------------------------------------------- > > Key: HIVE-8594 > URL: https://issues.apache.org/jira/browse/HIVE-8594 > Project: Hive > Issue Type: Bug > Reporter: Ted Yu > Assignee: Ted Yu > Priority: Minor > Attachments: hive-8594.txt > > > {code} > if(whiteListParamsStr == null && whiteListParamsStr.trim().isEmpty()) { > {code} > If whiteListParamsStr is null, the call to trim() would result in NPE. -- This message was sent by Atlassian JIRA (v6.3.4#6332)