hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "pascal oliva (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-11542) Unit Test KeyStoreTestUtil.java compilation failure in IBM JDK
Date Wed, 30 Jul 2014 13:22:39 GMT

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

pascal oliva commented on HBASE-11542:
--------------------------------------

I am working on KeyStoreTestUtil.java file from hadoop-common compoment about the break with
IBM JAVA
I changed the generateCertification function  into KeyStoreTestUtil  by using bouncycastle
library

<dependency>
	<groupId>org.bouncycastle</groupId>
	<artifactId>bcprov-jdk16</artifactId>
	<version>1.46</version>
</dependency>

Here in attachment the patch that i used into hadoop-common : sslkeystore.patch
I tested successfully that patch with OpenJDJ 1.7 and IBM JAVA J9 VM (build 2.7, JRE 1.7.0
 with hadoop environment.



> Unit Test  KeyStoreTestUtil.java compilation failure in IBM JDK 
> ----------------------------------------------------------------
>
>                 Key: HBASE-11542
>                 URL: https://issues.apache.org/jira/browse/HBASE-11542
>             Project: HBase
>          Issue Type: Improvement
>          Components: build, test
>    Affects Versions: 0.99.0
>         Environment: RHEL 6.3 ,IBM JDK 6
>            Reporter: LinseyPang
>            Priority: Minor
>             Fix For: 2.0.0
>
>         Attachments: HBASE_11542-1.patch, hbase11542-0.99-v3.patch, hbase11542-0.99-v3.patch,
hbase11542-0.99-v3.patch, hbase_11542-v2.patch
>
>
> In trunk,  jira HBase-10336 added a utility test KeyStoreTestUtil.java, which leverages
the following sun classes:
>    import sun.security.x509.AlgorithmId;
>    import sun.security.x509.CertificateAlgorithmId;
>   ....
> this cause hbase compiler failure if using IBM JDK,  
> There are similar classes like below in IBM jdk: 
> import com.ibm.security.x509.AlgorithmId;
> import com.ibm.security.x509.CertificateAlgorithmId; 
> This jira is to add handling of the x509 references. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message