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

Andrew Purtell updated HBASE-7614:
----------------------------------
    Comment: was deleted

(was: All unit tests pass using Java 8 on branch 0.98. 

With trunk some variations in security libraries are 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}

We build our own self signed certificate for this test programatically, which 
has led to other JIRAs where use of sun.* classes do not work on non-Oracle 
JVMs, so I think we should fix this problem by generating a cert for this test 
using an external tool, stringifying it, and embedding the result into the 
test. )

> [JDK8] Unit tests pass
> ----------------------
>
>                 Key: HBASE-7614
>                 URL: https://issues.apache.org/jira/browse/HBASE-7614
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Andrew Purtell
>            Assignee: Andrew Purtell
>            Priority: Trivial
>
> Avoid a repeat with Java 8 of the situation at the Java 6 end of life where 
> HBase (and Hadoop) are not stable on the Java 7 runtime. The first step is 
> insuring all unit tests pass.



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

Reply via email to