[ https://issues.apache.org/jira/browse/HBASE-24227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17095705#comment-17095705 ]
Jan Hentschel commented on HBASE-24227: --------------------------------------- [~ndimiduk] I tried the same on the current master, but are not able to reproduce it (see below). {code:java} ❯ java -version openjdk version "11.0.2" 2019-01-15 OpenJDK Runtime Environment 18.9 (build 11.0.2+9) OpenJDK 64-Bit Server VM 18.9 (build 11.0.2+9, mixed mode) ❯ bin/hbase shell 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, r3781ac9dacebea38fc9f6276591c6349dc893258, Wed Apr 29 18:49:03 CEST 2020 Took 0.0007 seconds Ignoring byebug-9.0.6 because its extensions are not built. Try: gem pristine byebug --version 9.0.6 Ignoring eventmachine-1.2.7 because its extensions are not built. Try: gem pristine eventmachine --version 1.2.7 Ignoring executable-hooks-1.3.2 because its extensions are not built. Try: gem pristine executable-hooks --version 1.3.2 Ignoring ffi-1.9.23 because its extensions are not built. Try: gem pristine ffi --version 1.9.23 Ignoring gem-wrappers-1.2.7 because its extensions are not built. Try: gem pristine gem-wrappers --version 1.2.7 Ignoring http_parser.rb-0.6.0 because its extensions are not built. Try: gem pristine http_parser.rb --version 0.6.0 Ignoring jaro_winkler-1.5.4 because its extensions are not built. Try: gem pristine jaro_winkler --version 1.5.4 Ignoring json-2.1.0 because its extensions are not built. Try: gem pristine json --version 2.1.0 Ignoring json-1.8.6 because its extensions are not built. Try: gem pristine json --version 1.8.6 Ignoring nokogiri-1.8.2 because its extensions are not built. Try: gem pristine nokogiri --version 1.8.2 Ignoring oga-2.15 because its extensions are not built. Try: gem pristine oga --version 2.15 Ignoring oga-2.14 because its extensions are not built. Try: gem pristine oga --version 2.14 Ignoring redcarpet-2.3.0 because its extensions are not built. Try: gem pristine redcarpet --version 2.3.0 Ignoring ruby-ll-2.1.2 because its extensions are not built. Try: gem pristine ruby-ll --version 2.1.2 Ignoring unf_ext-0.0.7.5 because its extensions are not built. Try: gem pristine unf_ext --version 0.0.7.5 2.3.0 :001 > create 'test', 'cf' 2020-04-29 19:00:42,159 WARN [main] util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable Created table test Took 1.3021 seconds => Hbase::Table - test 2.3.0 :002 > list TABLE test 1 row(s) Took 0.0146 seconds => ["test"] {code} Am I missing something? > [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 > 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)