[jira] [Commented] (HBASE-12081) Considering Java 9
[ https://issues.apache.org/jira/browse/HBASE-12081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16916876#comment-16916876 ] stack commented on HBASE-12081: --- [~Jan Hentschel] +1 from me. > Considering Java 9 > -- > > Key: HBASE-12081 > URL: https://issues.apache.org/jira/browse/HBASE-12081 > Project: HBase > Issue Type: Umbrella >Reporter: Andrew Purtell >Priority: Major > Fix For: 3.0.0 > > > Java 9 will ship in 2016. This will be the first Java release that makes a > significant compatibility departure from earlier runtimes. -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Commented] (HBASE-12081) Considering Java 9
[ https://issues.apache.org/jira/browse/HBASE-12081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16916647#comment-16916647 ] Jan Hentschel commented on HBASE-12081: --- Agree with [~psomogyi]. Should we close this one in favor of Java 11? > Considering Java 9 > -- > > Key: HBASE-12081 > URL: https://issues.apache.org/jira/browse/HBASE-12081 > Project: HBase > Issue Type: Umbrella >Reporter: Andrew Purtell >Priority: Major > Fix For: 3.0.0 > > > Java 9 will ship in 2016. This will be the first Java release that makes a > significant compatibility departure from earlier runtimes. -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Commented] (HBASE-12081) Considering Java 9
[ https://issues.apache.org/jira/browse/HBASE-12081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16823989#comment-16823989 ] Peter Somogyi commented on HBASE-12081: --- Closing Java 9 and 10 umbrella issues make sense. We should focus on Java 11 instead, 9 and 10 are already EOL. > Considering Java 9 > -- > > Key: HBASE-12081 > URL: https://issues.apache.org/jira/browse/HBASE-12081 > Project: HBase > Issue Type: Umbrella >Reporter: Andrew Purtell >Priority: Major > Fix For: 3.0.0 > > > Java 9 will ship in 2016. This will be the first Java release that makes a > significant compatibility departure from earlier runtimes. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HBASE-12081) Considering Java 9
[ https://issues.apache.org/jira/browse/HBASE-12081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16817163#comment-16817163 ] Sean Busbey commented on HBASE-12081: - I think we should close out our "considering Java 9 / 10" jiras and just put the relevant sub-tasks under JDK11, given the existing community discussion about only aiming for working with LTS releases. > Considering Java 9 > -- > > Key: HBASE-12081 > URL: https://issues.apache.org/jira/browse/HBASE-12081 > Project: HBase > Issue Type: Umbrella >Reporter: Andrew Purtell >Priority: Major > Fix For: 3.0.0 > > > Java 9 will ship in 2016. This will be the first Java release that makes a > significant compatibility departure from earlier runtimes. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HBASE-12081) Considering Java 9
[ https://issues.apache.org/jira/browse/HBASE-12081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16420161#comment-16420161 ] Sean Busbey commented on HBASE-12081: - whenever we add support for a JDK that includes jigsaw (JDK9+), some background: https://lists.apache.org/thread.html/dbc0dc691e877e52500d59f4349ae6182761ebf736e89b3ac96c6961@%3Cdev.maven.apache.org%3E > Considering Java 9 > -- > > Key: HBASE-12081 > URL: https://issues.apache.org/jira/browse/HBASE-12081 > Project: HBase > Issue Type: Umbrella >Reporter: Andrew Purtell >Priority: Major > Fix For: 3.0.0, 2.1.0, 1.5.0 > > > Java 9 will ship in 2016. This will be the first Java release that makes a > significant compatibility departure from earlier runtimes. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HBASE-12081) Considering Java 9
[ https://issues.apache.org/jira/browse/HBASE-12081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16388134#comment-16388134 ] Sean Busbey commented on HBASE-12081: - [DISCUSS on java version strategy|https://s.apache.org/Kj8r] > Considering Java 9 > -- > > Key: HBASE-12081 > URL: https://issues.apache.org/jira/browse/HBASE-12081 > Project: HBase > Issue Type: Umbrella >Reporter: Andrew Purtell >Assignee: Sean Busbey >Priority: Major > Fix For: 3.0.0, 2.1.0, 1.5.0 > > > Java 9 will ship in 2016. This will be the first Java release that makes a > significant compatibility departure from earlier runtimes. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HBASE-12081) Considering Java 9
[ https://issues.apache.org/jira/browse/HBASE-12081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16249701#comment-16249701 ] Sean Busbey commented on HBASE-12081: - ugh. I think we need a DISCUSS thread on Java strategies. [Oracle announce EOL for Java 9 is going to be March 2018|http://mail.openjdk.java.net/pipermail/jdk-updates-dev/2017-November/24.html] which is like super soon and before the end of Java 8. The next LTS release won't be GA until September 2018. > Considering Java 9 > -- > > Key: HBASE-12081 > URL: https://issues.apache.org/jira/browse/HBASE-12081 > Project: HBase > Issue Type: Umbrella >Reporter: Andrew Purtell >Assignee: Sean Busbey > Fix For: 3.0.0, 2.1.0, 1.5.0 > > > Java 9 will ship in 2016. This will be the first Java release that makes a > significant compatibility departure from earlier runtimes. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (HBASE-12081) Considering Java 9
[ https://issues.apache.org/jira/browse/HBASE-12081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16242707#comment-16242707 ] Andrew Purtell commented on HBASE-12081: Making a subtask to increase the Hadoop version for branch-1 and branch-1.4 to 2.7.4 (from 2.5.1) > Considering Java 9 > -- > > Key: HBASE-12081 > URL: https://issues.apache.org/jira/browse/HBASE-12081 > Project: HBase > Issue Type: Umbrella >Reporter: Andrew Purtell >Assignee: Sean Busbey > Fix For: 3.0.0, 2.1.0, 1.5.0 > > > Java 9 will ship in 2016. This will be the first Java release that makes a > significant compatibility departure from earlier runtimes. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (HBASE-12081) Considering Java 9
[ https://issues.apache.org/jira/browse/HBASE-12081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16234708#comment-16234708 ] Sean Busbey commented on HBASE-12081: - so subtask to upgrade the shipped-with version in master to Hadoop 2.7.4 and we can add a note in one or both of the hadoop or java sections about the requirement? > Considering Java 9 > -- > > Key: HBASE-12081 > URL: https://issues.apache.org/jira/browse/HBASE-12081 > Project: HBase > Issue Type: Umbrella >Reporter: Andrew Purtell >Assignee: Sean Busbey >Priority: Blocker > Fix For: 1.4.0, 2.1.0, 1.5.0 > > > Java 9 will ship in 2016. This will be the first Java release that makes a > significant compatibility departure from earlier runtimes. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (HBASE-12081) Considering Java 9
[ https://issues.apache.org/jira/browse/HBASE-12081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16234661#comment-16234661 ] Mike Drob commented on HBASE-12081: --- Tried to start a java8 compiled hbase: {noformat} mdrob@mdrob-MBP:/tmp/hb2a4/hbase-2.0.0-alpha4$ ./bin/start-hbase.sh Java HotSpot(TM) 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release. Exception in thread "main" java.lang.ExceptionInInitializerError at org.apache.hadoop.util.StringUtils.(StringUtils.java:80) at org.apache.hadoop.conf.Configuration.getBoolean(Configuration.java:1437) at org.apache.hadoop.hbase.HBaseConfiguration.checkDefaultsVersion(HBaseConfiguration.java:66) at org.apache.hadoop.hbase.HBaseConfiguration.addHbaseResources(HBaseConfiguration.java:80) at org.apache.hadoop.hbase.HBaseConfiguration.create(HBaseConfiguration.java:94) at org.apache.hadoop.hbase.util.HBaseConfTool.main(HBaseConfTool.java:39) Caused by: java.lang.StringIndexOutOfBoundsException: begin 0, end 3, length 1 at java.base/java.lang.String.checkBoundsBeginEnd(String.java:3116) at java.base/java.lang.String.substring(String.java:1885) at org.apache.hadoop.util.Shell.(Shell.java:51) ... 6 more Java HotSpot(TM) 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release. Exception in thread "main" java.lang.ExceptionInInitializerError at org.apache.hadoop.util.StringUtils.(StringUtils.java:80) at org.apache.hadoop.conf.Configuration.getBoolean(Configuration.java:1437) at org.apache.hadoop.hbase.HBaseConfiguration.checkDefaultsVersion(HBaseConfiguration.java:66) at org.apache.hadoop.hbase.HBaseConfiguration.addHbaseResources(HBaseConfiguration.java:80) at org.apache.hadoop.hbase.HBaseConfiguration.create(HBaseConfiguration.java:94) at org.apache.hadoop.hbase.zookeeper.ZKServerTool.main(ZKServerTool.java:60) Caused by: java.lang.StringIndexOutOfBoundsException: begin 0, end 3, length 1 at java.base/java.lang.String.checkBoundsBeginEnd(String.java:3116) at java.base/java.lang.String.substring(String.java:1885) at org.apache.hadoop.util.Shell.(Shell.java:51) ... 6 more running master, logging to /tmp/hb2a4/hbase-2.0.0-alpha4/bin/../logs/hbase-mdrob-master-mdrob-MBP.local.out Java HotSpot(TM) 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release. Exception in thread "main" java.lang.ExceptionInInitializerError at org.apache.hadoop.util.StringUtils.(StringUtils.java:80) at org.apache.hadoop.conf.Configuration.getBoolean(Configuration.java:1437) at org.apache.hadoop.hbase.HBaseConfiguration.checkDefaultsVersion(HBaseConfiguration.java:66) at org.apache.hadoop.hbase.HBaseConfiguration.addHbaseResources(HBaseConfiguration.java:80) at org.apache.hadoop.hbase.HBaseConfiguration.create(HBaseConfiguration.java:94) at org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:127) at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:2848) Caused by: java.lang.StringIndexOutOfBoundsException: begin 0, end 3, length 1 : running regionserver, logging to /tmp/hb2a4/hbase-2.0.0-alpha4/bin/../logs/hbase-mdrob-regionserver-mdrob-MBP.local.out : Java HotSpot(TM) 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release. : Exception in thread "main" java.lang.ExceptionInInitializerError : at org.apache.hadoop.util.StringUtils.(StringUtils.java:80) : at org.apache.hadoop.conf.Configuration.getBoolean(Configuration.java:1437) : at org.apache.hadoop.hbase.HBaseConfiguration.checkDefaultsVersion(HBaseConfiguration.java:66) : at org.apache.hadoop.hbase.HBaseConfiguration.addHbaseResources(HBaseConfiguration.java:80) : at org.apache.hadoop.hbase.HBaseConfiguration.create(HBaseConfiguration.java:94) : at org.apache.hadoop.hbase.regionserver.HRegionServer.main(HRegionServer.java:3029) : Caused by: java.lang.StringIndexOutOfBoundsException: begin 0, end 3, length 1 : at java.base/java.lang.String.checkBoundsBeginEnd(String.java:3116) {noformat} > Considering Java 9 > -- > > Key: HBASE-12081 > URL: https://issues.apache.org/jira/browse/HBASE-12081 > Project: HBase > Issue Type: Umbrella >Reporter: Andrew Purtell >Assignee: Sean Busbey >Priority: Blocker > Fix For: 1.4.0, 2.1.0, 1.5.0 > > > Java 9 will ship in 2016. This will be the first Java release that makes a > significant compatibility departure from earlier
[jira] [Commented] (HBASE-12081) Considering Java 9
[ https://issues.apache.org/jira/browse/HBASE-12081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16221303#comment-16221303 ] Sean Busbey commented on HBASE-12081: - I think we should kick this out and do it in the HBase 2.1.0 release. > Considering Java 9 > -- > > Key: HBASE-12081 > URL: https://issues.apache.org/jira/browse/HBASE-12081 > Project: HBase > Issue Type: Umbrella >Reporter: Andrew Purtell >Assignee: Sean Busbey >Priority: Blocker > Fix For: 2.0.0, 1.4.0, 1.5.0 > > > Java 9 will ship in 2016. This will be the first Java release that makes a > significant compatibility departure from earlier runtimes. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (HBASE-12081) Considering Java 9
[ https://issues.apache.org/jira/browse/HBASE-12081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16182711#comment-16182711 ] Sean Busbey commented on HBASE-12081: - I'm on OSX and the download I got from the jdk 9 site doesn't look like a beta: {quote} $ /Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home/bin/java -version java version "9" Java(TM) SE Runtime Environment (build 9+181) Java HotSpot(TM) 64-Bit Server VM (build 9+181, mixed mode) {quote} For comparison, my last beta install was named like {{jdk1.9-ea-b102.jdk}} > Considering Java 9 > -- > > Key: HBASE-12081 > URL: https://issues.apache.org/jira/browse/HBASE-12081 > Project: HBase > Issue Type: Umbrella >Reporter: Andrew Purtell >Assignee: Sean Busbey >Priority: Blocker > Fix For: 2.0.0, 1.4.0, 1.5.0 > > > Java 9 will ship in 2016. This will be the first Java release that makes a > significant compatibility departure from earlier runtimes. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (HBASE-12081) Considering Java 9
[ https://issues.apache.org/jira/browse/HBASE-12081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16181639#comment-16181639 ] Mike Drob commented on HBASE-12081: --- On the downloads page, it claims that "Builds for platforms other than Linux/x64 will be published at a later date." So those of us developing on OSX are still stuck with beta builds. > Considering Java 9 > -- > > Key: HBASE-12081 > URL: https://issues.apache.org/jira/browse/HBASE-12081 > Project: HBase > Issue Type: Umbrella >Reporter: Andrew Purtell >Assignee: Sean Busbey >Priority: Blocker > Fix For: 2.0.0, 1.4.0, 1.5.0 > > > Java 9 will ship in 2016. This will be the first Java release that makes a > significant compatibility departure from earlier runtimes. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (HBASE-12081) Considering Java 9
[ https://issues.apache.org/jira/browse/HBASE-12081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16176679#comment-16176679 ] Sean Busbey commented on HBASE-12081: - Maybe we should pull this back into one of the beta releases; it sounds like the changes it requires might have some perf impact on jdk8 folks? > Considering Java 9 > -- > > Key: HBASE-12081 > URL: https://issues.apache.org/jira/browse/HBASE-12081 > Project: HBase > Issue Type: Umbrella >Reporter: Andrew Purtell >Priority: Blocker > Fix For: 2.0.0, 1.4.0, 1.5.0 > > > Java 9 will ship in 2016. This will be the first Java release that makes a > significant compatibility departure from earlier runtimes. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (HBASE-12081) Considering Java 9
[ https://issues.apache.org/jira/browse/HBASE-12081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16175975#comment-16175975 ] ramkrishna.s.vasudevan commented on HBASE-12081: Findbugs does not work and the comment above also needs to be fixed https://issues.apache.org/jira/browse/HBASE-12081?focusedCommentId=16036746=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16036746 In case you need to make the server run. > Considering Java 9 > -- > > Key: HBASE-12081 > URL: https://issues.apache.org/jira/browse/HBASE-12081 > Project: HBase > Issue Type: Umbrella >Reporter: Andrew Purtell >Priority: Blocker > Fix For: 2.0.0, 1.4.0, 1.5.0 > > > Java 9 will ship in 2016. This will be the first Java release that makes a > significant compatibility departure from earlier runtimes. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (HBASE-12081) Considering Java 9
[ https://issues.apache.org/jira/browse/HBASE-12081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16175659#comment-16175659 ] stack commented on HBASE-12081: --- Thanks [~mdrob] > Considering Java 9 > -- > > Key: HBASE-12081 > URL: https://issues.apache.org/jira/browse/HBASE-12081 > Project: HBase > Issue Type: Umbrella >Reporter: Andrew Purtell >Priority: Blocker > Fix For: 2.0.0, 1.4.0, 1.5.0 > > > Java 9 will ship in 2016. This will be the first Java release that makes a > significant compatibility departure from earlier runtimes. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (HBASE-12081) Considering Java 9
[ https://issues.apache.org/jira/browse/HBASE-12081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=1617#comment-1617 ] Mike Drob commented on HBASE-12081: --- I had looked at this before and the first big blockers that I found were that the version of findbugs we use was not compatible (I think because the underlying asm needs to be re-instrumented for Java 9) and that scala needed an update (so hbase-spark has issues). Commenting those bits out, we could at least compile, but I never finished getting tests to pass. > Considering Java 9 > -- > > Key: HBASE-12081 > URL: https://issues.apache.org/jira/browse/HBASE-12081 > Project: HBase > Issue Type: Umbrella >Reporter: Andrew Purtell >Priority: Blocker > Fix For: 2.0.0, 1.4.0, 1.5.0 > > > Java 9 will ship in 2016. This will be the first Java release that makes a > significant compatibility departure from earlier runtimes. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (HBASE-12081) Considering Java 9
[ https://issues.apache.org/jira/browse/HBASE-12081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16175511#comment-16175511 ] Andrew Purtell commented on HBASE-12081: I also added branch-1 and branch-1.4, but I fear that may be optimistic. Will drop branch-1.4 if need be. We can keep this as a blocker for continuing forward with branch-1 (1.5, etc.) > Considering Java 9 > -- > > Key: HBASE-12081 > URL: https://issues.apache.org/jira/browse/HBASE-12081 > Project: HBase > Issue Type: Umbrella >Reporter: Andrew Purtell >Priority: Blocker > Fix For: 2.0.0, 1.4.0, 1.5.0 > > > Java 9 will ship in 2016. This will be the first Java release that makes a > significant compatibility departure from earlier runtimes. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (HBASE-12081) Considering Java 9
[ https://issues.apache.org/jira/browse/HBASE-12081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16175499#comment-16175499 ] stack commented on HBASE-12081: --- Making this a blocker for 2.0.0. Ensure we at least run on a jdk9. > Considering Java 9 > -- > > Key: HBASE-12081 > URL: https://issues.apache.org/jira/browse/HBASE-12081 > Project: HBase > Issue Type: Umbrella >Reporter: Andrew Purtell >Priority: Blocker > Fix For: 2.0.0 > > > Java 9 will ship in 2016. This will be the first Java release that makes a > significant compatibility departure from earlier runtimes. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (HBASE-12081) Considering Java 9
[ https://issues.apache.org/jira/browse/HBASE-12081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16175496#comment-16175496 ] Dave Latham commented on HBASE-12081: - Java 9 is now GA > Considering Java 9 > -- > > Key: HBASE-12081 > URL: https://issues.apache.org/jira/browse/HBASE-12081 > Project: HBase > Issue Type: Umbrella >Reporter: Andrew Purtell > > Java 9 will ship in 2016. This will be the first Java release that makes a > significant compatibility departure from earlier runtimes. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (HBASE-12081) Considering Java 9
[ https://issues.apache.org/jira/browse/HBASE-12081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16063696#comment-16063696 ] Mike Drob commented on HBASE-12081: --- FYI: jdk-9+175, the first java 9 RC is now available at http://jdk.java.net/9/ > Considering Java 9 > -- > > Key: HBASE-12081 > URL: https://issues.apache.org/jira/browse/HBASE-12081 > Project: HBase > Issue Type: Umbrella >Reporter: Andrew Purtell > > Java 9 will ship in 2016. This will be the first Java release that makes a > significant compatibility departure from earlier runtimes. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (HBASE-12081) Considering Java 9
[ https://issues.apache.org/jira/browse/HBASE-12081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16036746#comment-16036746 ] ramkrishna.s.vasudevan commented on HBASE-12081: Considering the fact that we are accessing the private members of sun.nio, java.lang.reflect etc. All those will fail. Any code using setAccessible(true) will fail to work. Java 9 suggests some alternate for this (not sure whether we will have a better work around when the actual release happens). Alternate includes adding these extns to JVM (for eg) {code} --add-exports=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED {code} Just adding it here as I could see this JIRA as the umbrella JIRA. > Considering Java 9 > -- > > Key: HBASE-12081 > URL: https://issues.apache.org/jira/browse/HBASE-12081 > Project: HBase > Issue Type: Umbrella >Reporter: Andrew Purtell > > Java 9 will ship in 2016. This will be the first Java release that makes a > significant compatibility departure from earlier runtimes. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (HBASE-12081) Considering Java 9
[ https://issues.apache.org/jira/browse/HBASE-12081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14146542#comment-14146542 ] Andrew Purtell commented on HBASE-12081: A number of internal {{com.sun}} classes will be removed, including Unsafe. These removals need to be handled or HBase will not be able to run on a Java 9 runtime. Doing this in a backwards compatible way may be tricky. I'm not sure how Oracle will navigate to where they want to go while dealing with unfixable user code breakage and I hope we have an opportunity to provide pushback on changes if required. I don't think we need to do anything today beyond track what others in the ecosystem are doing, for example Considering Java 9 -- Key: HBASE-12081 URL: https://issues.apache.org/jira/browse/HBASE-12081 Project: HBase Issue Type: Umbrella Reporter: Andrew Purtell Java 9 will ship in 2016. This will be the first Java release that makes a significant compatibility departure from earlier runtimes. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-12081) Considering Java 9
[ https://issues.apache.org/jira/browse/HBASE-12081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14146544#comment-14146544 ] Esteban Gutierrez commented on HBASE-12081: --- Right, I ran the same tests a moment ago and we also have some dependencies, including Cliff Click's high perf lib that rely on sun.misc.Unsafe also JRuby falls into that category. Considering Java 9 -- Key: HBASE-12081 URL: https://issues.apache.org/jira/browse/HBASE-12081 Project: HBase Issue Type: Umbrella Reporter: Andrew Purtell Java 9 will ship in 2016. This will be the first Java release that makes a significant compatibility departure from earlier runtimes. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-12081) Considering Java 9
[ https://issues.apache.org/jira/browse/HBASE-12081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14146553#comment-14146553 ] Andrew Purtell commented on HBASE-12081: For an earlier discussion with folks at Oracle I ran jdeps analysis over the core Hadoop ecosystem and related projects that have notable or emerging user bases (in my opinion, some may debate...): Hadoop, ZooKeeper, Hive(+Tez), Pig, HBase, Oozie, Flume, Sqoop, Avro, Thrift, Accumulo, Cassandra, Crunch, Cascading, Elasticsearch, Giraph, Kafka, Mahout, Parquet, Optiq, Solr/Lucene, Spark, Storm. I picked recent releases except for HBase and Optiq, which I built from source. For Optiq because I could not find a binary distribution at the time. For HBase I used 0.99-SNAPSHOT because it has the new dependencies on Netty 4 and the LMAX Disruptor that will be in the upcoming 1.0 release. There are some common dependencies (Netty, Guava, Derby, the Scala runtime, Coda Hale's Metrics, LMAX Disruptor) that use internal sun.* APIs. We would need versions of these dependencies which do not make those calls available before we could eliminate internal API calls through this route. Other uses fall into a few common patterns. Daemons use Signal/SignalHandler for catching signals. Datastores such as HBase, Hive, and Cassandra are seeking their own high performance optimizations with Unsafe, including direct memory allocation. Avro and Kyro are serialization libraries seeking high performance via Unsafe on hot code paths. Hadoop and HBase utilize some security APIs for Kerberos and SSL which seem to have no non-internal API analogues. Pig and HBase pull in Jython and JRuby, respectively. Jython uses a bit of Unsafe. JRuby is an aggressive user of JVM internals. Considering Java 9 -- Key: HBASE-12081 URL: https://issues.apache.org/jira/browse/HBASE-12081 Project: HBase Issue Type: Umbrella Reporter: Andrew Purtell Java 9 will ship in 2016. This will be the first Java release that makes a significant compatibility departure from earlier runtimes. -- This message was sent by Atlassian JIRA (v6.3.4#6332)