Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-10937

Need to set version name correctly before decrypting EEK

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.6.0
    • security
    • None

    Description

      Touchz-ing a file results in a Null Pointer Exception

      [hdfs@mynode hadoop-common]$ hdfs dfs -touchz /enc3/touchFIle
      2014-08-01 08:45:10,148 INFO  [main] hdfs.DFSClient (DFSClient.java:<init>(605)) - Found KeyProvider: KeyProviderCryptoExtension: KMSClientProvider[http://mynode.myhost.com:16000/kms/v1/]
      -touchz: Fatal internal error
      java.lang.NullPointerException
      	at org.apache.hadoop.crypto.key.kms.KMSClientProvider.decryptEncryptedKey(KMSClientProvider.java:652)
      	at org.apache.hadoop.crypto.key.KeyProviderCryptoExtension.decryptEncryptedKey(KeyProviderCryptoExtension.java:342)
      	at org.apache.hadoop.hdfs.DFSClient.decryptEncryptedDataEncryptionKey(DFSClient.java:1319)
      	at org.apache.hadoop.hdfs.DFSClient.createWrappedOutputStream(DFSClient.java:1364)
      	at org.apache.hadoop.hdfs.DFSClient.createWrappedOutputStream(DFSClient.java:1352)
      	at org.apache.hadoop.hdfs.DistributedFileSystem$6.doCall(DistributedFileSystem.java:391)
      	at org.apache.hadoop.hdfs.DistributedFileSystem$6.doCall(DistributedFileSystem.java:384)
      	at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81)
      	at org.apache.hadoop.hdfs.DistributedFileSystem.create(DistributedFileSystem.java:384)
      	at org.apache.hadoop.hdfs.DistributedFileSystem.create(DistributedFileSystem.java:328)
      	at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:906)
      	at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:887)
      

      Attachments

        1. HADOOP-10937.2.patch
          5 kB
          Arun Suresh
        2. HADOOP-10937.1.patch
          3 kB
          Arun Suresh

        Activity

          People

            asuresh Arun Suresh
            asuresh Arun Suresh
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: