Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-7035

Impala HDFS Encryption tests failing after OpenJDK update

    XMLWordPrintableJSON

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.

       

      Attachments

        Activity

          People

            philip Philip Martin
            philip Philip Martin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: