[jira] [Commented] (HBASE-22972) [JDK11] Support JDK11 LTS in HBase

2022-07-03 Thread Duo Zhang (Jira)


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

Duo Zhang commented on HBASE-22972:
---

The only missing part is for building javadoc, which is not critical, so I 
prefer we move the javadoc issue out as a normal issue, and resolve this one, 
since HBase can be built with JDK11 and also ruin with JDK11 now.

> [JDK11] Support JDK11 LTS in HBase
> --
>
> Key: HBASE-22972
> URL: https://issues.apache.org/jira/browse/HBASE-22972
> Project: HBase
>  Issue Type: Umbrella
>Affects Versions: 3.0.0-alpha-1, 2.3.0, 2.4.0
>Reporter: Duo Zhang
>Priority: Major
>  Labels: jdk11
>
> This is an umbrella issue for tracking all the problems for JDK11 in HBase. 
> And we also rely on hadoop and zookeeper.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (HBASE-22972) [JDK11] Support JDK11 LTS in HBase

2022-04-28 Thread Duo Zhang (Jira)


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

Duo Zhang commented on HBASE-22972:
---

Building with JDK11 only can make our toolchain a bit simpler. For example, we 
can use newer version of error prone, we do not need to have special profile 
for jdk11 and jdk8, etc. So I prefer we upgrade newer branches to JDK11 only, 
and use --release 8 to make our release still run on JDK8.

> [JDK11] Support JDK11 LTS in HBase
> --
>
> Key: HBASE-22972
> URL: https://issues.apache.org/jira/browse/HBASE-22972
> Project: HBase
>  Issue Type: Umbrella
>Affects Versions: 3.0.0-alpha-1, 2.3.0, 2.4.0
>Reporter: Duo Zhang
>Priority: Major
>  Labels: jdk11
>
> This is an umbrella issue for tracking all the problems for JDK11 in HBase. 
> And we also rely on hadoop and zookeeper.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)


[jira] [Commented] (HBASE-22972) [JDK11] Support JDK11 LTS in HBase

2022-04-28 Thread Nick Dimiduk (Jira)


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

Nick Dimiduk commented on HBASE-22972:
--

[~tamaas] As long as a given HBase branch supports JDK8 runtime, we cannot 
adopt JDK9+ language enhancements on that branch. My understanding is that this 
JIRA has been about adding JDK11 runtime support, not deprecating JDK8 support.

> [JDK11] Support JDK11 LTS in HBase
> --
>
> Key: HBASE-22972
> URL: https://issues.apache.org/jira/browse/HBASE-22972
> Project: HBase
>  Issue Type: Umbrella
>Affects Versions: 3.0.0-alpha-1, 2.3.0, 2.4.0
>Reporter: Duo Zhang
>Priority: Major
>  Labels: jdk11
>
> This is an umbrella issue for tracking all the problems for JDK11 in HBase. 
> And we also rely on hadoop and zookeeper.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)


[jira] [Commented] (HBASE-22972) [JDK11] Support JDK11 LTS in HBase

2022-04-26 Thread Tamas Penzes (Jira)


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

Tamas Penzes commented on HBASE-22972:
--

[~zhangduo] afaik building with JDK11 to JDK8 works only until you start using 
JDK11 features in the code.

As soon as you use any bits of JDK11 only code snippets in the application it 
cannot be built to run on JDK8.

I would still support this step, but I'm not even a committer. The best would 
be to start a [DISCUSS] thread in the dev mailing list.

> [JDK11] Support JDK11 LTS in HBase
> --
>
> Key: HBASE-22972
> URL: https://issues.apache.org/jira/browse/HBASE-22972
> Project: HBase
>  Issue Type: Umbrella
>Affects Versions: 3.0.0-alpha-1, 2.3.0, 2.4.0
>Reporter: Duo Zhang
>Priority: Major
>  Labels: jdk11
>
> This is an umbrella issue for tracking all the problems for JDK11 in HBase. 
> And we also rely on hadoop and zookeeper.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)


[jira] [Commented] (HBASE-22972) [JDK11] Support JDK11 LTS in HBase

2022-04-10 Thread Duo Zhang (Jira)


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

Duo Zhang commented on HBASE-22972:
---

I'm considering moving up to JDK11 on master branch since we can use --release 
8 to keep compatibility with JDK8 at runtime.

But seems there is still a javadoc issue when running 'mvn site'? HBASE-25983

> [JDK11] Support JDK11 LTS in HBase
> --
>
> Key: HBASE-22972
> URL: https://issues.apache.org/jira/browse/HBASE-22972
> Project: HBase
>  Issue Type: Umbrella
>Affects Versions: 3.0.0-alpha-1, 2.3.0, 2.4.0
>Reporter: Duo Zhang
>Priority: Major
>  Labels: jdk11
>
> This is an umbrella issue for tracking all the problems for JDK11 in HBase. 
> And we also rely on hadoop and zookeeper.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Commented] (HBASE-22972) [JDK11] Support JDK11 LTS in HBase

2020-03-11 Thread Nick Dimiduk (Jira)


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

Nick Dimiduk commented on HBASE-22972:
--

The operator tools project (as of {{1271fea}}) builds and tests ({{mvn clean 
install}}) using JDK11 without any changes.

> [JDK11] Support JDK11 LTS in HBase
> --
>
> Key: HBASE-22972
> URL: https://issues.apache.org/jira/browse/HBASE-22972
> Project: HBase
>  Issue Type: Umbrella
>Reporter: Duo Zhang
>Priority: Blocker
>  Labels: jdk11
> Fix For: 3.0.0, 2.3.0
>
>
> This is an umbrella issue for tracking all the problems for JDK11 in HBase. 
> And we also rely on hadoop.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (HBASE-22972) [JDK11] Support JDK11 LTS in HBase

2020-02-02 Thread Guanghao Zhang (Jira)


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

Guanghao Zhang commented on HBASE-22972:


When run hbase with hadoop 2.8.5 and jdk11, another warning is "WARNING: 
Illegal reflective access by 
org.apache.hadoop.security.authentication.util.KerberosUtil 
(file:/home/xiaohao/code/open_source/hbase/hbase-assembly/target/hbase-3.0.0-SNAPSHOT/lib/hadoop-auth-2.8.5.jar)
 to method sun.security.krb5.Config.getInstance()". May only support hadoop 3.x 
when run with jdk11.

> [JDK11] Support JDK11 LTS in HBase
> --
>
> Key: HBASE-22972
> URL: https://issues.apache.org/jira/browse/HBASE-22972
> Project: HBase
>  Issue Type: Umbrella
>Reporter: Duo Zhang
>Priority: Blocker
>  Labels: jdk11
> Fix For: 3.0.0, 2.3.0
>
>
> This is an umbrella issue for tracking all the problems for JDK11 in HBase. 
> And we also rely on hadoop.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (HBASE-22972) [JDK11] Support JDK11 LTS in HBase

2020-02-01 Thread Duo Zhang (Jira)


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

Duo Zhang commented on HBASE-22972:
---

https://github.com/netty/netty/issues/7838

See this...

We need lots of flags to make netty work without performance downgrading...

> [JDK11] Support JDK11 LTS in HBase
> --
>
> Key: HBASE-22972
> URL: https://issues.apache.org/jira/browse/HBASE-22972
> Project: HBase
>  Issue Type: Umbrella
>Reporter: Duo Zhang
>Priority: Blocker
>  Labels: jdk11
> Fix For: 3.0.0, 2.3.0
>
>
> This is an umbrella issue for tracking all the problems for JDK11 in HBase. 
> And we also rely on hadoop.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (HBASE-22972) [JDK11] Support JDK11 LTS in HBase

2020-02-01 Thread Guanghao Zhang (Jira)


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

Guanghao Zhang commented on HBASE-22972:


The ungligned is a method in jdk8 but it is a filed since jdk9. And it seems 
have different name for jdk9/10 and jdk11/12.

> [JDK11] Support JDK11 LTS in HBase
> --
>
> Key: HBASE-22972
> URL: https://issues.apache.org/jira/browse/HBASE-22972
> Project: HBase
>  Issue Type: Umbrella
>Reporter: Duo Zhang
>Priority: Blocker
>  Labels: jdk11
> Fix For: 3.0.0, 2.3.0
>
>
> This is an umbrella issue for tracking all the problems for JDK11 in HBase. 
> And we also rely on hadoop.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (HBASE-22972) [JDK11] Support JDK11 LTS in HBase

2020-02-01 Thread Duo Zhang (Jira)


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

Duo Zhang commented on HBASE-22972:
---

I think we need to add some flags in the start scripts, to export some internal 
classes, Netty also has the same problem...

> [JDK11] Support JDK11 LTS in HBase
> --
>
> Key: HBASE-22972
> URL: https://issues.apache.org/jira/browse/HBASE-22972
> Project: HBase
>  Issue Type: Umbrella
>Reporter: Duo Zhang
>Priority: Blocker
>  Labels: jdk11
> Fix For: 3.0.0, 2.3.0
>
>
> This is an umbrella issue for tracking all the problems for JDK11 in HBase. 
> And we also rely on hadoop.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (HBASE-22972) [JDK11] Support JDK11 LTS in HBase

2020-02-01 Thread Guanghao Zhang (Jira)


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

Guanghao Zhang commented on HBASE-22972:


The waring message is "WARNING: Illegal reflective access by 
org.apache.hadoop.hbase.util.UnsafeAvailChecker 
(file:/home/zhangguanghao1/code/hbase/hbase-common/target/hbase-common-2.3.0-SNAPSHOT.jar)
 to method java.nio.Bits.unaligned()". And spark had smae problem and resolved 
by https://issues.apache.org/jira/browse/SPARK-27981

> [JDK11] Support JDK11 LTS in HBase
> --
>
> Key: HBASE-22972
> URL: https://issues.apache.org/jira/browse/HBASE-22972
> Project: HBase
>  Issue Type: Umbrella
>Reporter: Duo Zhang
>Priority: Blocker
>  Labels: jdk11
> Fix For: 3.0.0, 2.3.0
>
>
> This is an umbrella issue for tracking all the problems for JDK11 in HBase. 
> And we also rely on hadoop.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (HBASE-22972) [JDK11] Support JDK11 LTS in HBase

2020-02-01 Thread Guanghao Zhang (Jira)


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

Guanghao Zhang commented on HBASE-22972:


The runtime means what? I build a package of branch-2 and run with jdk11. There 
are some warnings but it worked now. I used PE to write/read 1M rows and it 
worked.

> [JDK11] Support JDK11 LTS in HBase
> --
>
> Key: HBASE-22972
> URL: https://issues.apache.org/jira/browse/HBASE-22972
> Project: HBase
>  Issue Type: Umbrella
>Reporter: Duo Zhang
>Priority: Blocker
>  Labels: jdk11
> Fix For: 3.0.0, 2.3.0
>
>
> This is an umbrella issue for tracking all the problems for JDK11 in HBase. 
> And we also rely on hadoop.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (HBASE-22972) [JDK11] Support JDK11 LTS in HBase

2020-01-30 Thread Duo Zhang (Jira)


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

Duo Zhang commented on HBASE-22972:
---

Maybe a new profile? If you enable jdk11, then you must depend on hadoop-3.3.x.

> [JDK11] Support JDK11 LTS in HBase
> --
>
> Key: HBASE-22972
> URL: https://issues.apache.org/jira/browse/HBASE-22972
> Project: HBase
>  Issue Type: Umbrella
>Reporter: Duo Zhang
>Priority: Blocker
>  Labels: jdk11
> Fix For: 3.0.0, 2.3.0
>
>
> This is an umbrella issue for tracking all the problems for JDK11 in HBase. 
> And we also rely on hadoop.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (HBASE-22972) [JDK11] Support JDK11 LTS in HBase

2020-01-29 Thread Nick Dimiduk (Jira)


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

Nick Dimiduk commented on HBASE-22972:
--

I'm told HADOOP-15338 is targeting 3.3. Is waiting for, upgrading to a Hadoop 
3.3 release really a requirement for our purposes?

> [JDK11] Support JDK11 LTS in HBase
> --
>
> Key: HBASE-22972
> URL: https://issues.apache.org/jira/browse/HBASE-22972
> Project: HBase
>  Issue Type: Umbrella
>Reporter: Duo Zhang
>Priority: Blocker
>  Labels: jdk11
> Fix For: 3.0.0, 2.3.0
>
>
> This is an umbrella issue for tracking all the problems for JDK11 in HBase. 
> And we also rely on hadoop.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (HBASE-22972) [JDK11] Support JDK11 LTS in HBase

2020-01-27 Thread Duo Zhang (Jira)


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

Duo Zhang commented on HBASE-22972:
---

+1 on splitting runtime and compile.

> [JDK11] Support JDK11 LTS in HBase
> --
>
> Key: HBASE-22972
> URL: https://issues.apache.org/jira/browse/HBASE-22972
> Project: HBase
>  Issue Type: Umbrella
>Reporter: Duo Zhang
>Priority: Blocker
>  Labels: jdk11
> Fix For: 3.0.0, 2.3.0
>
>
> This is an umbrella issue for tracking all the problems for JDK11 in HBase. 
> And we also rely on hadoop.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (HBASE-22972) [JDK11] Support JDK11 LTS in HBase

2020-01-27 Thread Nick Dimiduk (Jira)


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

Nick Dimiduk commented on HBASE-22972:
--

Would be nice to get this one closed down for 2.3.0. At least, the runtime side 
anyway. Is it worth breaking runtime from compile time like they did in Hadoop?

> [JDK11] Support JDK11 LTS in HBase
> --
>
> Key: HBASE-22972
> URL: https://issues.apache.org/jira/browse/HBASE-22972
> Project: HBase
>  Issue Type: Umbrella
>Reporter: Duo Zhang
>Priority: Major
>  Labels: jdk11
>
> This is an umbrella issue for tracking all the problems for JDK11 in HBase. 
> And we also rely on hadoop.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)