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

LinseyPang commented on HBASE-11542:
------------------------------------

Hi,Ted,

1. I created a local branch from origin/master and loaded into eclipse. On this 
local branch, I added several classes under package 
oforg.apache.hadoop.hbase.http.ssl for solving jdk incompatible issue and one 
test class named as TestX509Factory.java under package 
org.apache.hadoop.hbase.http. The unit test TestX509Factory.java succeeded on 
my local machine. 2. To test whether the failure is because of the new classed 
I created, I created a new local branch from origin/master without adding any 
new code. The org.apache.hadoop.hbase.http.TestHttpServerLifecycle is also 
failed.  Error is : java.io.IOException: Could not locate executable 
null\bin\winutils.exe in the Hadoop binaries. It seems the failure is because I 
am using windows os, need to re-compile hadoop binary. 3. So I don't think the 
failure is from the new added classes from my side. Am I correct ? Please give 
advice. Thanks a lot.  

> 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, 
> 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)

Reply via email to