Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

No KeyVersion exists for key 'encryptionkey' after OS patching

Solved Go to solution
Highlighted

No KeyVersion exists for key 'encryptionkey' after OS patching

New Contributor

After OS patching, people are unable to write/copy the data into the encrypted zones. can any one know how to resolve this?

Here is the error:

copyFromLocal: java.util.concurrent.ExecutionException: java.io.IOException: com.google.common.util.concurrent.UncheckedExecutionException: java.lang.NullPointerException: No KeyVersion exists for key 'encryptionkey'

1 ACCEPTED SOLUTION

Accepted Solutions

Re: No KeyVersion exists for key 'encryptionkey' after OS patching

New Contributor

finally able to resolve this by downgrading java to "1.8.0_161"

7 REPLIES 7

Re: No KeyVersion exists for key 'encryptionkey' after OS patching

Mentor

@raghavendra v

To be able to help you need to share

  • HDP version
  • OS type and versions
  • Cluster type (single/multi-node)
  • Cluster Size(affected nodes)

Just an important info you have.

Re: No KeyVersion exists for key 'encryptionkey' after OS patching

New Contributor
  • HDP version-- 2.6.2.0
  • OS type and versions--redhat, 7.5
  • Cluster type (single/multi-node)--multinode cluster(no kerberos)
  • Cluster Size(affected nodes)- 11nodes(ALL)cluster is up and running and can retrieve the data but cannot copt/put the data into the cluster.

Re: No KeyVersion exists for key 'encryptionkey' after OS patching

Mentor

@raghavendra v

Do you have GUI on the servers?

If not can you install because you will have to boot from the old kernel and backup the directory where your KMS keys?

Re: No KeyVersion exists for key 'encryptionkey' after OS patching

New Contributor

@Geoffrey Shelton Okot

we are not authorized to use GUI. Is there any way to overcome this issue?

Re: No KeyVersion exists for key 'encryptionkey' after OS patching

Mentor

@raghavendra v

I understand but but rollback to the previous version you will need the GUI to swtch between the GRB version you could install and uninstall there after ?

If not then ask you SYSOPS team to do that :-)

Re: No KeyVersion exists for key 'encryptionkey' after OS patching

New Contributor

@Geoffrey

roll back to previous version of OS(7.4) ?

Re: No KeyVersion exists for key 'encryptionkey' after OS patching

New Contributor

finally able to resolve this by downgrading java to "1.8.0_161"