[ 
https://issues.apache.org/jira/browse/HIVE-9648?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brock Noland updated HIVE-9648:
-------------------------------
       Resolution: Fixed
    Fix Version/s: 1.2.0
           Status: Resolved  (was: Patch Available)

Thank you Chao! I have committed this to trunk.

> 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
>             Fix For: 1.2.0
>
>         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)

Reply via email to