Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-9648

Null check key provider before doing set

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.0
    • Fix Version/s: 1.2.0
    • Component/s: Encryption
    • Labels:
      None

      Description

      Some versions of hdfs do not like DFSClient.setkeyProvider(null):

      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)
      

        Attachments

        1. HIVE-9648.2.patch
          1 kB
          Brock Noland
        2. HIVE-9648.patch
          0.9 kB
          Brock Noland

          Activity

            People

            • Assignee:
              brocknoland Brock Noland
              Reporter:
              brocknoland Brock Noland
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: