Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
None
-
ghx-label-1
Description
I have seen impala-py.test tests/metadata/test_hdfs_encryption.py fail with the following error:
E AssertionError: Error creating encryption zone: RemoteException: Can't recover key for testkey1 from keystore file:/home/impdev/Impala/testdata/cluster/cdh6/node-1/data/kms.keystore
I believe what's going on is described in https://issues.apache.org/jira/browse/HDFS-13494. In short, the JDK now has a special whitelist for an API as a result of a security vulnerability.
A workaround in the KMS init script to configure $HADOOP_OPTS seems to do the trick.