[ https://issues.apache.org/jira/browse/HIVE-9648?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brock Noland updated HIVE-9648: ------------------------------- Attachment: HIVE-9648.2.patch > 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)