hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-12006) [JDK 8] KeyStoreTestUtil#generateCertificate fails due to "subject class type invalid"
Date Wed, 15 Apr 2015 16:59:01 GMT

     [ https://issues.apache.org/jira/browse/HBASE-12006?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrew Purtell updated HBASE-12006:
-----------------------------------
       Resolution: Fixed
    Fix Version/s:     (was: 0.98.13)
     Hadoop Flags: Reviewed
           Status: Resolved  (was: Patch Available)

Pushed to branch-1.0 and up.

> [JDK 8] KeyStoreTestUtil#generateCertificate fails due to "subject class type invalid"
> --------------------------------------------------------------------------------------
>
>                 Key: HBASE-12006
>                 URL: https://issues.apache.org/jira/browse/HBASE-12006
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.99.0, 2.0.0
>            Reporter: Andrew Purtell
>            Assignee: Andrew Purtell
>            Priority: Minor
>             Fix For: 2.0.0, 1.1.0, 1.0.2
>
>         Attachments: HBASE-12006.patch
>
>
> Running tests on Java 8. All unit tests for branch 0.98 pass. On master branch some variation
in the security API is causing a failure in TestSSLHttpServer:
> {noformat}
> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.181 sec <<<
FAILURE! - in org.apache.hadoop.hbase.http.TestSSLHttpServer
> org.apache.hadoop.hbase.http.TestSSLHttpServer  Time elapsed: 0.181 sec  <<<
ERROR!
> java.security.cert.CertificateException: Subject class type invalid.
> 	at sun.security.x509.X509CertInfo.setSubject(X509CertInfo.java:888)
> 	at sun.security.x509.X509CertInfo.set(X509CertInfo.java:415)
> 	at org.apache.hadoop.hbase.http.ssl.KeyStoreTestUtil.generateCertificate(KeyStoreTestUtil.java:94)
> 	at org.apache.hadoop.hbase.http.ssl.KeyStoreTestUtil.setupSSLConfig(KeyStoreTestUtil.java:246)
> 	at org.apache.hadoop.hbase.http.TestSSLHttpServer.setup(TestSSLHttpServer.java:72)
> org.apache.hadoop.hbase.http.TestSSLHttpServer  Time elapsed: 0.181 sec  <<<
ERROR!
> java.lang.NullPointerException: null
> 	at org.apache.hadoop.hbase.http.TestSSLHttpServer.cleanup(TestSSLHttpServer.java:100)
> Tests in error: 
>   TestSSLHttpServer.setup:72 ยป Certificate Subject class type invalid.
>   TestSSLHttpServer.cleanup:100 NullPointer
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message