You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Chao (JIRA)" <ji...@apache.org> on 2015/02/11 08:29:11 UTC

[jira] [Commented] (HIVE-9648) Null check key provider before doing set

    [ https://issues.apache.org/jira/browse/HIVE-9648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14315715#comment-14315715 ] 

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.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)