hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-10847) Remove the usage of sun.security.x509.* in testing code
Date Wed, 05 Nov 2014 15:15:39 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-10847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14198488#comment-14198488
] 

Hudson commented on HADOOP-10847:
---------------------------------

FAILURE: Integrated in Hadoop-Mapreduce-trunk #1948 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1948/])
HADOOP-10847. Remove the usage of sun.security.x509.* in testing code. Contributed by Pascal
Oliva. (wheat9: rev 1eed1020234b8b5e5444bbc88299bc6689e6b015)
* hadoop-common-project/hadoop-common/pom.xml
* hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/ssl/KeyStoreTestUtil.java
* hadoop-project/pom.xml
* hadoop-common-project/hadoop-common/CHANGES.txt


> Remove the usage of sun.security.x509.* in testing code
> -------------------------------------------------------
>
>                 Key: HADOOP-10847
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10847
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: security
>            Reporter: Kai Zheng
>            Assignee: pascal oliva
>            Priority: Minor
>             Fix For: 2.7.0
>
>         Attachments: HADOOP-10847-1.patch, HADOOP-10847-2.patch, HADOOP-10847-3.patch,
HADOOP-10847-addendum.patch
>
>
> As was told by Max (Oracle), JDK9 is likely to block all accesses to sun.* classes.
> Below is from email of Andrew Purtell:
> {quote}
> The use of sun.* APIs to create a certificate in Hadoop and HBase test code can be removed.
Someone (Intel? Oracle?) can submit a JIRA that replaces the programmatic construction with
a stringified binary cert for use in the relevant unit tests. 
> {quote}
> In Hadoop, the calls in question are below:
> {code}
> hadoop-common/src/test/java/org/apache/hadoop/security/ssl/KeyStoreTestUtil.java:24:import
sun.security.x509.CertificateIssuerName;
> hadoop-common/src/test/java/org/apache/hadoop/security/ssl/KeyStoreTestUtil.java:25:import
sun.security.x509.CertificateSerialNumber;
> hadoop-common/src/test/java/org/apache/hadoop/security/ssl/KeyStoreTestUtil.java:26:import
sun.security.x509.CertificateSubjectName;
> hadoop-common/src/test/java/org/apache/hadoop/security/ssl/KeyStoreTestUtil.java:27:import
sun.security.x509.CertificateValidity;
> hadoop-common/src/test/java/org/apache/hadoop/security/ssl/KeyStoreTestUtil.java:28:import
sun.security.x509.CertificateVersion;
> hadoop-common/src/test/java/org/apache/hadoop/security/ssl/KeyStoreTestUtil.java:29:import
sun.security.x509.CertificateX509Key;
> hadoop-common/src/test/java/org/apache/hadoop/security/ssl/KeyStoreTestUtil.java:30:import
sun.security.x509.X500Name; 
> hadoop-common/src/test/java/org/apache/hadoop/security/ssl/KeyStoreTestUtil.java:31:import
sun.security.x509.X509CertImpl; 
> hadoop-common/src/test/java/org/apache/hadoop/security/ssl/KeyStoreTestUtil.java:32:import
sun.security.x509.X509CertInfo;
> {code}



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

Mime
View raw message