[
https://issues.apache.org/jira/browse/HBASE-11542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14172468#comment-14172468
]
pascal oliva commented on HBASE-11542:
--------------------------------------
I tested again in my side successfully the patch : HBASE-11542-6.patch from
jira:hbase site.
with :
git apply --binary -p0 ../HBASE-11542-6.patch <== No error , no warning
mvn clean ; mvn compile
mvn test -Dtest=org.apache.hadoop.hbase.http.TestSSLHttpServer -X | tee
res.hbase.SSLHttp.log
[INFO] HBase ............................................. SUCCESS [ 1.830 s]
[INFO] HBase - Annotations ............................... SUCCESS [ 0.906 s]
[INFO] HBase - Common .................................... SUCCESS [ 5.822 s]
[INFO] HBase - Protocol .................................. SUCCESS [ 0.095 s]
[INFO] HBase - Client .................................... SUCCESS [ 2.205 s]
[INFO] HBase - Hadoop Compatibility ...................... SUCCESS [ 0.216 s]
[INFO] HBase - Hadoop Two Compatibility .................. SUCCESS [ 1.040 s]
[INFO] HBase - Prefix Tree ............................... SUCCESS [ 0.876 s]
[INFO] HBase - Server .................................... SUCCESS [ 14.280 s]
[INFO] HBase - Testing Util .............................. SUCCESS [ 1.181 s]
[INFO] HBase - Thrift .................................... SUCCESS [ 1.132 s]
[INFO] HBase - Shell ..................................... SUCCESS [ 0.702 s]
[INFO] HBase - Integration Tests ......................... SUCCESS [ 1.137 s]
[INFO] HBase - Examples .................................. SUCCESS [ 0.733 s]
[INFO] HBase - Rest ...................................... SUCCESS [ 1.237 s]
[INFO] HBase - Assembly .................................. SUCCESS [ 1.057 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 35.248 s
[INFO] Finished at: 2014-10-15T17:14:04+01:00
[INFO] Final Memory: 91M/300M
[INFO] ------------------------------------------------------------------------
Running org.apache.hadoop.hbase.http.TestSSLHttpServer
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.14 sec - in
org.apache.hadoop.hbase.http.TestSSLHttpServer
What do you suggest to push the patch ? A pull request .... ?
> 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-4.patch, HBASE-11542-5.patch,
> HBASE-11542-6.patch, HBASE_11542-1.patch, KeyStoreTestUtil.java.new1,
> client_crt, client_pkcs8, hbase11542-0.99-v3.patch, hbase11542-0.99-v3.patch,
> hbase11542-0.99-v3.patch, hbase_11542-v2.patch, server_crt, server_pkcs8,
> sslkeystore.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.3.4#6332)