New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HBASE-28252 Add sun.net.dns and sun.net.util to the JDK11+ module exports in the hbase script #5571
Conversation
This is a bit awkaward, as I tried to duplicate how the existing code works, but 99% of the time this should be autodecteded anyway. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
Optimized it a bit, and added printing HBASE_OPTS in debug mode. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
Can we not duplicate a bunch of the existing code? At least we should not try jdk detection two times? |
I have added caching to JDK detection, so it doesn't perform the expensive calls twice. We could make some JDK version handling function, but I think that with the parameters, debug messages, and dynamically eveluated functions for lambdas, it would hurt readability more than help it. However, the problematic JDK17 dependency is only present in tests, so don't have to bother with it in the runtime scripts. |
…orts in the hbase script
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
I have removed the JDK17 specific code, and updated the JIRA summary and the commit message. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
…orts in the hbase script (#5571) Signed-off-by: Duo Zhang <zhangduo@apache.org> Signed-off-by: Balazs Meszaros <meszibalu@apache.org>
…orts in the hbase script (#5571) Signed-off-by: Duo Zhang <zhangduo@apache.org> Signed-off-by: Balazs Meszaros <meszibalu@apache.org>
…orts in the hbase script (#5571) Signed-off-by: Duo Zhang <zhangduo@apache.org> Signed-off-by: Balazs Meszaros <meszibalu@apache.org>
…orts in the hbase script (apache#5571) Signed-off-by: Duo Zhang <zhangduo@apache.org> Signed-off-by: Balazs Meszaros <meszibalu@apache.org>
…orts in the hbase script (#5571) Signed-off-by: Duo Zhang <zhangduo@apache.org> Signed-off-by: Balazs Meszaros <meszibalu@apache.org>
…orts in the hbase script (apache#5571) Signed-off-by: Duo Zhang <zhangduo@apache.org> Signed-off-by: Balazs Meszaros <meszibalu@apache.org>
…orts in the hbase script (apache#5571) Signed-off-by: Duo Zhang <zhangduo@apache.org> Signed-off-by: Balazs Meszaros <meszibalu@apache.org> (cherry picked from commit b6ef44a) Change-Id: I2ed5e5acf02ffb371b607d7709cee62a5cbf9379
Change-Id: I0ade930b2f92a0dfd015697a9c4de20e7de65ba5