hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-10132) sun.security.pkcs11.wrapper.PKCS11Exception: CKR_ARGUMENTS_BAD
Date Wed, 11 Dec 2013 19:53:08 GMT
Andrew Purtell created HBASE-10132:
--------------------------------------

             Summary: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_ARGUMENTS_BAD
                 Key: HBASE-10132
                 URL: https://issues.apache.org/jira/browse/HBASE-10132
             Project: HBase
          Issue Type: Bug
            Reporter: Andrew Purtell
            Assignee: Andrew Purtell


Looks like RedHat broke OpenJDK 7 crypto: https://bugzilla.redhat.com/show_bug.cgi?id=1031145


I came across this today when setting up a Jenkins slave for OpenJDK 7. Looks like 1.7.0u25
is affected but 1.7.0u45 is not - a more recent RH package build I suspect. 

The issue manifests as exceptions caused ultimately by:

{noformat}
Caused by: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_ARGUMENTS_BAD
	at sun.security.pkcs11.wrapper.PKCS11.C_DecryptUpdate(Native Method)
	at sun.security.pkcs11.P11Cipher.implDoFinal(P11Cipher.java:795)
{noformat}

The RH bug report for this problem includes a workaround that fixed the problem for me. 

Informational issue only, will attach a patch for the manual shortly. 



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Mime
View raw message