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

Zhuoyue Huang commented on HBASE-24227:
---------------------------------------

Can't reproduce it
{code:java}
$ JAVA_HOME=/home/georry/Develop/environment/java/openjdk-11 ./bin/hbase shell 
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by 
org.apache.hadoop.hbase.util.UnsafeAvailChecker 
(file:/home/georry/Develop/hbase-community-master/hbase-assembly/target/hbase-3.0.0-SNAPSHOT/lib/hbase-common-3.0.0-SNAPSHOT.jar)
 to method java.nio.Bits.unaligned()
WARNING: Please consider reporting this to the maintainers of 
org.apache.hadoop.hbase.util.UnsafeAvailChecker
WARNING: Use --illegal-access=warn to enable warnings of further illegal 
reflective access operations
WARNING: All illegal access operations will be denied in a future release
HBase Shell
Use "help" to get list of supported commands.
Use "exit" to quit this interactive shell.
For Reference, please visit: http://hbase.apache.org/book.html#shell
Version 3.0.0-SNAPSHOT, rUnknown, Mon Sep 14 21:46:14 CST 2020
Took 0.0008 seconds                                                             
                                                                                
                                                                 
hbase(main):001:0> list
TABLE                                                                           
                                                                                
                                                                 
2020-09-15 21:11:24,655 WARN  [main] util.NativeCodeLoader: Unable to load 
native-hadoop library for your platform... using builtin-java classes where 
applicable
test1                                                                           
                                                                                
                                                                 
test2                                                                           
                                                                                
                                                                 
2 row(s)
Took 0.6523 seconds                                                             
                                                                                
                                                                 
=> ["test1", "test2"]
hbase(main):002:0> quit


{code}

> [JDK11] shell fails to launch
> -----------------------------
>
>                 Key: HBASE-24227
>                 URL: https://issues.apache.org/jira/browse/HBASE-24227
>             Project: HBase
>          Issue Type: Sub-task
>          Components: shell
>    Affects Versions: 3.0.0-alpha-1
>            Reporter: Nick Dimiduk
>            Priority: Blocker
>
> {noformat}
> $ 
> JAVA_HOME=/Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home 
> ./bin/hbase shell
> WARNING: An illegal reflective access operation has occurred
> WARNING: Illegal reflective access by 
> org.apache.hadoop.hbase.util.UnsafeAvailChecker 
> (file:/Users/ndimiduk/repos/apache/hbase/hbase-common/target/hbase-common-3.0.0-SNAPSHOT.jar)
>  to method java.nio.Bits.unaligned()
> WARNING: Please consider reporting this to the maintainers of 
> org.apache.hadoop.hbase.util.UnsafeAvailChecker
> WARNING: Use --illegal-access=warn to enable warnings of further illegal 
> reflective access operations
> WARNING: All illegal access operations will be denied in a future release
> HBase Shell
> Use "help" to get list of supported commands.
> Use "exit" to quit this interactive shell.
> For Reference, please visit: http://hbase.apache.org/book.html#shell
> Version 3.0.0-SNAPSHOT, rbcacc4ce939e60fd69891df6315a39aef852b567, Tue Apr 21 
> 15:47:27 PDT 2020
> Took 0.0000 seconds                                                           
>                                                                               
>                                                 
> ArgumentError: wrong number of arguments (1 for 0)
>            ` at uri:classloader:/jruby/kernel/jruby/process_manager.rb:32
>            ` at uri:classloader:/jruby/kernel/jruby/process_manager.rb:54
>   initialize at 
> /Users/ndimiduk/repos/apache/hbase/hbase-shell/src/main/ruby/irb/hirb.rb:46
>        start at /Users/ndimiduk/repos/apache/hbase/bin/../bin/hirb.rb:207
>       <main> at /Users/ndimiduk/repos/apache/hbase/bin/../bin/hirb.rb:219
> {noformat}



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

Reply via email to