[
https://issues.apache.org/jira/browse/HBASE-17944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15978282#comment-15978282
]
Colm O hEigeartaigh edited comment on HBASE-17944 at 4/21/17 8:18 AM:
----------------------------------------------------------------------
OK I have submitted a patch to remove the static block. Even on 1.1.x the JDK7
variable is not used, so the patch can be backported there as well.
[~tedyu], no I am not deploying Java 9 in my cluster :-) I am trying to get
Apache Ranger, which has a HBase 1.1.x dependency, working with Java 9. After
this fix the tests pass correctly.
was (Author: coheigea):
OK I will submit two patches. One to remove the JDK7 property which should be
applied to master, and back to 1.2.x. And one patch for 1.1.x which allows it
to work with Java 9.
[~tedyu], no I am not deploying Java 9 in my cluster :-) I am trying to get
Apache Ranger, which has a HBase 1.1.x dependency, working with Java 9. After
this fix the tests pass correctly.
> ClassSize fails with Java 9
> ---------------------------
>
> Key: HBASE-17944
> URL: https://issues.apache.org/jira/browse/HBASE-17944
> Project: HBase
> Issue Type: Bug
> Reporter: Colm O hEigeartaigh
> Fix For: 2.0.0, 1.1.10, 1.2.6, 1.3.2
>
> Attachments: 0001-HBASE-17944-ClassSize-fails-with-Java-9.patch
>
>
> ClassSize fails when run with Java 9. The static block assumes that the java
> version contains "." which is not necessarily the case with Java 9:
> Caused by: java.lang.RuntimeException: Unexpected version format: 9-ea
> at org.apache.hadoop.hbase.util.ClassSize.<clinit>(ClassSize.java:119)
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)