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

No KeyVersion exists for key 'encryptionkey' after OS patching

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
Highlighted

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

Contributor

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

View solution in original post

7 REPLIES 7
Highlighted

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.

Highlighted

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

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.
Highlighted

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?

Highlighted

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

Contributor

@Geoffrey Shelton Okot

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

Highlighted

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 :-)

Highlighted

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

Contributor

@Geoffrey

roll back to previous version of OS(7.4) ?

Highlighted

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

Contributor

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

View solution in original post

Don't have an account?
Coming from Hortonworks? Activate your account here