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 8D91E108EE for ; Wed, 11 Feb 2015 22:06:13 +0000 (UTC) Received: (qmail 74630 invoked by uid 500); 11 Feb 2015 22:06:13 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 74560 invoked by uid 500); 11 Feb 2015 22:06:13 -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 74549 invoked by uid 500); 11 Feb 2015 22:06:13 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 74546 invoked by uid 99); 11 Feb 2015 22:06:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Feb 2015 22:06:13 +0000 Date: Wed, 11 Feb 2015 22:06:13 +0000 (UTC) From: "Chao (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-9648) Null check key provider before doing set 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-9648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14317064#comment-14317064 ] Chao commented on HIVE-9648: ---------------------------- +1 > Null check key provider before doing set > ---------------------------------------- > > Key: HIVE-9648 > URL: https://issues.apache.org/jira/browse/HIVE-9648 > Project: Hive > Issue Type: Bug > Components: Encryption > Affects Versions: 1.1.0 > Reporter: Brock Noland > Assignee: Brock Noland > Attachments: HIVE-9648.2.patch, HIVE-9648.patch > > > Some versions of hdfs do not like {{DFSClient.setkeyProvider(null)}}: > {noformat} > java.lang.NullPointerException > at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:191) > at com.google.common.cache.LocalCache.put(LocalCache.java:4209) > at com.google.common.cache.LocalCache$LocalManualCache.put(LocalCache.java:4804) > at org.apache.hadoop.hdfs.KeyProviderCache.setKeyProvider(KeyProviderCache.java:107) > at org.apache.hadoop.hdfs.DFSClient.setKeyProvider(DFSClient.java:3186) > at org.apache.hadoop.hive.shims.Hadoop23Shims.getMiniDfs(Hadoop23Shims.java:446) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)