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

Jan Hentschel commented on HBASE-24227:
---------------------------------------

[~adityakishore] See the following output done on the recent master.

{code}
2.3.0 :001 > system 'env | grep JAVA_HOME'
JAVA_HOME=/Users/jan/.jenv/versions/11.0.2
 => true 
2.3.0 :002 > create 'test', 'cf'
2020-06-02 21:14:40,999 WARN  [main] util.NativeCodeLoader: Unable to load 
native-hadoop library for your platform... using builtin-java classes where 
applicable
Created table test
Took 1.9711 seconds                                                             
 => Hbase::Table - test 
2.3.0 :003 > list
TABLE                                                                           
test                                                                            
1 row(s)
Took 0.0161 seconds                                                             
 => ["test"] 
{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