hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HADOOP-11275) TestSSLFactory fails on Java 8
Date Wed, 05 Nov 2014 18:19:34 GMT

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

Ted Yu resolved HADOOP-11275.
-----------------------------
    Resolution: Not a Problem

Refreshed workspace and this test passes.

> TestSSLFactory fails on Java 8
> ------------------------------
>
>                 Key: HADOOP-11275
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11275
>             Project: Hadoop Common
>          Issue Type: Test
>            Reporter: Ted Yu
>            Priority: Minor
>
> Below are a few of the exceptions I got running this test against Java 8:
> {code}
> Running org.apache.hadoop.security.ssl.TestSSLFactory
> Tests run: 15, Failures: 0, Errors: 14, Skipped: 0, Time elapsed: 1.724 sec <<<
FAILURE! - in org.apache.hadoop.security.ssl.TestSSLFactory
> testNoClientCertsInitialization(org.apache.hadoop.security.ssl.TestSSLFactory)  Time
elapsed: 0.177 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.security.ssl.KeyStoreTestUtil.generateCertificate(KeyStoreTestUtil.java:96)
>         at org.apache.hadoop.security.ssl.KeyStoreTestUtil.setupSSLConfig(KeyStoreTestUtil.java:268)
>         at org.apache.hadoop.security.ssl.TestSSLFactory.createConfiguration(TestSSLFactory.java:64)
>         at org.apache.hadoop.security.ssl.TestSSLFactory.testNoClientCertsInitialization(TestSSLFactory.java:337)
> testServerKeyPasswordDefaultsToPassword(org.apache.hadoop.security.ssl.TestSSLFactory)
 Time elapsed: 0.189 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.security.ssl.KeyStoreTestUtil.generateCertificate(KeyStoreTestUtil.java:96)
>         at org.apache.hadoop.security.ssl.TestSSLFactory.checkSSLFactoryInitWithPasswords(TestSSLFactory.java:283)
>         at org.apache.hadoop.security.ssl.TestSSLFactory.checkSSLFactoryInitWithPasswords(TestSSLFactory.java:248)
>         at org.apache.hadoop.security.ssl.TestSSLFactory.testServerKeyPasswordDefaultsToPassword(TestSSLFactory.java:205)
> testServerCredProviderPasswords(org.apache.hadoop.security.ssl.TestSSLFactory)  Time
elapsed: 0.462 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.security.ssl.KeyStoreTestUtil.generateCertificate(KeyStoreTestUtil.java:96)
>         at org.apache.hadoop.security.ssl.TestSSLFactory.checkSSLFactoryInitWithPasswords(TestSSLFactory.java:283)
>         at org.apache.hadoop.security.ssl.TestSSLFactory.testServerCredProviderPasswords(TestSSLFactory.java:224)
> testClientDifferentPasswordAndKeyPassword(org.apache.hadoop.security.ssl.TestSSLFactory)
 Time elapsed: 0.059 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.security.ssl.KeyStoreTestUtil.generateCertificate(KeyStoreTestUtil.java:96)
>         at org.apache.hadoop.security.ssl.TestSSLFactory.checkSSLFactoryInitWithPasswords(TestSSLFactory.java:283)
>         at org.apache.hadoop.security.ssl.TestSSLFactory.checkSSLFactoryInitWithPasswords(TestSSLFactory.java:248)
>         at org.apache.hadoop.security.ssl.TestSSLFactory.testClientDifferentPasswordAndKeyPassword(TestSSLFactory.java:211)
> {code}



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

Mime
View raw message