Description
getting null pointer from kms exception while copying the file in hdfs
java.lang.NullPointerException at org.apache.hadoop.crypto.key.kms.server.KeyAuthorizationKeyProvider.verifyKeyVersionBelongsToKey(KeyAuthorizationKeyProvider.java:211) at org.apache.hadoop.crypto.key.kms.server.KeyAuthorizationKeyProvider.decryptEncryptedKey(KeyAuthorizationKeyProvider.java:220) at org.apache.hadoop.crypto.key.kms.server.KMS$10.run(KMS.java:455) at org.apache.hadoop.crypto.key.kms.server.KMS$10.run(KMS.java:452) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:415) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1724) at org.apache.hadoop.crypto.key.kms.server.KMS.decryptEncryptedKey(KMS.java:451) at sun.reflect.GeneratedMethodAccessor36.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606)