[
https://issues.apache.org/jira/browse/HBASE-28864?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17883182#comment-17883182
]
Nihal Jain edited comment on HBASE-28864 at 9/20/24 7:36 AM:
-------------------------------------------------------------
{quote} What version did you test? trunk only? Or also including branch-2?
{quote}
Hi [~apurtell], I had tested both master and branch-2 with JDK17.
I was debugging this issue to understand more on this. Re-tried following on
latest codebase once: with and without patch on master + JDK17.
With patch:
{code:java}
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 4.0.0-alpha-1-SNAPSHOT, rf0b92778981d77c6e839ee4ea0e4a684757ae19c, Fri
Sep 20 05:27:12 UTC 2024
Took 0.0038 seconds
hbase:001:0> puts IRB.CurrentContext
conf.ap_name="hbase"
conf.auto_indent_mode=true
conf.back_trace_limit=0
conf.echo=true
conf.echo_on_assignment=:truncate
conf.extra_doc_dirs=[]
conf.ignore_eof=false
conf.ignore_sigint=true
conf.inspect_method=#<IRB::Inspector:0x497c1d78 @inspect=#<Proc:0x6e349258
uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/irb/inspector.rb:113>,
@init=#<Proc:0x2e590e36
uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/irb/inspector.rb:113>>
conf.inspect_mode=true
conf.io=#<IRB::RelineInputMethod:0x3fc2a1d1>
conf.irb=#<IRB::HIRB:0x752e4223>
conf.irb_name="hbase"
conf.irb_path="(hbase)"
conf.line_no=1
conf.load_modules=[]
conf.newline_before_multiline_output=true
conf.prompt_c="%N:%03n:%i* "
conf.prompt_i="%N:%03n:%i> "
conf.prompt_mode=:CUSTOM
conf.prompt_n=nil
conf.prompt_s="%N:%03n:%i%l "
conf.rc=true
conf.return_format="=> %s\n"
conf.thread=#<Thread:0x7528089c@main run>
conf.use_autocomplete=false
conf.use_multiline=nil
conf.use_singleline=nil
conf.verbose=nil
conf.workspace=#<IRB::WorkSpace:0x136690b1 @main=#<HBaseReceiver:0x39007725
@hbase=#<Hbase::Hbase:0x3eb8057c
@configuration=#<Java::OrgApacheHadoopConf::Configuration:0xb814e23>>,
@shell=#<Shell::Shell:0x2c257c0a @hbase=#<Hbase::Hbase:0x3eb8057c
@configuration=#<Java::OrgApacheHadoopConf::Configuration:0xb814e23>>,
@debug=false, @interactive=true>>, @binding=#<Binding:0x16269ff4>>
hbase:002:0> list
TABLE
0 row(s)
Took 2.7137 seconds
=> []
hbase:003:0> list
TABLE
0 row(s)
Took 0.0092 seconds
=> []
hbase:004:0> quit{code}
Without patch:
{code:java}
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 4.0.0-alpha-1-SNAPSHOT, r52082bc5b80a60406bfaaa630ed5cb23027436c1, Fri
Sep 20 06:20:05 UTC 2024
Took 0.0053 seconds
hbase:001:0> puts IRB.CurrentContext
conf.ap_name="hbase"
conf.auto_indent_mode=true
conf.back_trace_limit=0
conf.echo=true
conf.echo_on_assignment=:truncate
conf.extra_doc_dirs=[]
conf.ignore_eof=false
conf.ignore_sigint=true
conf.inspect_method=#<IRB::Inspector:0x68838767 @inspect=#<Proc:0x293ba26c
uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/irb/inspector.rb:113>,
@init=#<Proc:0x5cff6d1d
uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/irb/inspector.rb:113>>
conf.inspect_mode=true
conf.io=#<IRB::RelineInputMethod:0x3c981f76>
conf.irb=#<IRB::HIRB:0x4844e24b>
conf.irb_name="hbase"
conf.irb_path="(hbase)"
conf.line_no=1
conf.load_modules=[]
conf.newline_before_multiline_output=true
conf.prompt_c="%N:%03n:%i* "
conf.prompt_i="%N:%03n:%i> "
conf.prompt_mode=:CUSTOM
conf.prompt_n=nil
conf.prompt_s="%N:%03n:%i%l "
conf.rc=true
conf.return_format="=> %s\n"
conf.thread=#<Thread:0x2571bdf4@main run>
conf.use_autocomplete=false
conf.use_multiline=nil
conf.use_singleline=nil
conf.verbose=nil
conf.workspace=#<IRB::WorkSpace:0x241abc2 @main=#<HBaseReceiver:0x7e5e7753
@hbase=#<Hbase::Hbase:0x11678469
@configuration=#<Java::OrgApacheHadoopConf::Configuration:0xa0bdbe2>>,
@shell=#<Shell::Shell:0x36c1b6ff @hbase=#<Hbase::Hbase:0x11678469
@configuration=#<Java::OrgApacheHadoopConf::Configuration:0xa0bdbe2>>,
@debug=false, @interactive=true>>, @binding=#<Binding:0x3b28ab9b>>
hbase:002:0> list
TABLE
0 row(s)
Took 2.3309 seconds
=> []
hbase:003:0> {code}
Could not reproduce error.
Also built branch-2 + JDK8 without patch:
{code:java}
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/2.0/book.html#shell
Version 2.7.0-SNAPSHOT, r0dc334f572329be7eb2455cec3519fc820c04c25, Fri Sep 20
06:48:04 UTC 2024
Took 0.0041 seconds
hbase:001:0> JRUBY_VERSION
=> "9.4.8.0"
hbase:002:0> RUBY_VERSION
hbase:003:0> irb_info
=>
Ruby version: 3.1.4
IRB version: irb 1.4.2 (2022-10-03)
InputMethod: ReidlineInputMethod with Reline 0.4.2
.irbrc path: /usr/local/rvm/rubies/ruby-3.3.4/.irbrc
RUBY_PLATFORM: java
LANG env: C.UTF-8
East Asian Ambiguous Width: 1
hbase:004:0> list
TABLE
0 row(s)
Took 1.1939 seconds
=> []
hbase:005:0> puts IRB.CurrentContext
conf.ap_name="hbase"
conf.auto_indent_mode=true
conf.back_trace_limit=0
conf.echo=true
conf.echo_on_assignment=:truncate
conf.extra_doc_dirs=[]
conf.ignore_eof=false
conf.ignore_sigint=true
conf.inspect_method=#<IRB::Inspector:0x31a4db4f @inspect=#<Proc:0xaa794a3
uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/irb/inspector.rb:113>,
@init=#<Proc:0x1dce481b
uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/irb/inspector.rb:113>>
conf.inspect_mode=true
conf.io=#<IRB::RelineInputMethod:0x22cb8e5f>
conf.irb=#<IRB::HIRB:0x45753c22>
conf.irb_name="hbase"
conf.irb_path="(hbase)"
conf.last_value=...
conf.line_no=5
conf.load_modules=[]
conf.newline_before_multiline_output=true
conf.prompt_c="%N:%03n:%i* "
conf.prompt_i="%N:%03n:%i> "
conf.prompt_mode=:CUSTOM
conf.prompt_n=nil
conf.prompt_s="%N:%03n:%i%l "
conf.rc=true
conf.return_format="=> %s\n"
conf.thread=#<Thread:0x7341baa3@main run>
conf.use_autocomplete=false
conf.use_multiline=nil
conf.use_singleline=nil
conf.verbose=nil
conf.workspace=#<IRB::WorkSpace:0x1ca0aa40 @main=#<HBaseReceiver:0x626766fd
@hbase=#<Hbase::Hbase:0xe1fd2bf
@configuration=#<Java::OrgApacheHadoopConf::Configuration:0x28ce75ec>,
@connection=#<Java::OrgApacheHadoopHbaseClient::ConnectionImplementation:0x691eb389>>,
@shell=#<Shell::Shell:0x40edc64e @hbase=#<Hbase::Hbase:0xe1fd2bf
@configuration=#<Java::OrgApacheHadoopConf::Configuration:0x28ce75ec>,
@connection=#<Java::OrgApacheHadoopHbaseClient::ConnectionImplementation:0x691eb389>>,
@admin=#<Hbase::Admin:0x1fec9d33
@conf=#<Java::OrgApacheHadoopConf::Configuration:0x28ce75ec>,
@admin=#<Java::OrgApacheHadoopHbaseClient::HBaseAdmin:0x8e8ceb3>,
@hbck=#<Java::OrgApacheHadoopHbaseClient::HBaseHbck:0x5d67b2b3>,
@connection=#<Java::OrgApacheHadoopHbaseClient::ConnectionImplementation:0x691eb389>>,
@debug=false, @interactive=true>>, @binding=#<Binding:0x7efa366>>
hbase:006:0> {code}
All tests were done on Github codespace. Env details:
{code:java}
@NihalJain ➜ /workspaces/hbase (branch-2) $ lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
Address sizes: 48 bits physical, 48 bits virtual
CPU(s): 2
On-line CPU(s) list: 0,1
Thread(s) per core: 2
Core(s) per socket: 1
Socket(s): 1
NUMA node(s): 1
Vendor ID: AuthenticAMD
CPU family: 25
Model: 1
Model name: AMD EPYC 7763 64-Core Processor
Stepping: 1
CPU MHz: 3240.875
BogoMIPS: 4890.85
Virtualization: AMD-V
Hypervisor vendor: Microsoft
Virtualization type: full
L1d cache: 32 KiB
L1i cache: 32 KiB
L2 cache: 512 KiB
L3 cache: 32 MiB
NUMA node0 CPU(s): 0,1
Vulnerability Gather data sampling: Not affected
Vulnerability Itlb multihit: Not affected
Vulnerability L1tf: Not affected
Vulnerability Mds: Not affected
Vulnerability Meltdown: Not affected
Vulnerability Mmio stale data: Not affected
Vulnerability Retbleed: Not affected
Vulnerability Spec rstack overflow: Vulnerable: Safe RET, no microcode
Vulnerability Spec store bypass: Vulnerable
Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and
__user pointer sanitization
Vulnerability Spectre v2: Mitigation; Retpolines; STIBP disabled; RSB
filling; PBRSB-eIBRS Not affected; BHI Not affected
Vulnerability Srbds: Not affected
Vulnerability Tsx async abort: Not affected
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep
mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext
fxsr_opt pdpe1gb rdt
scp lm constant_tsc rep_good nopl
tsc_reliable nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq ssse3 fma
cx16 pcid sse4_1 sse4_2 mov
be popcnt aes xsave avx f16c rdrand
hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse
3dnowprefetch osvw topoext invpcid_s
ingle vmmcall fsgsbase bmi1 avx2 smep bmi2
erms invpcid rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1
xsaves clzero xsavee
rptr rdpru arat npt nrip_save tsc_scale
vmcb_clean flushbyasid decodeassists pausefilter pfthreshold v_vmsave_vmload
umip vaes vpclmulqdq r
dpid fsrm
@NihalJain ➜ /workspaces/hbase (branch-2) $ ruby -v
ruby 3.3.4 (2024-07-09 revision be1089c8ec) [x86_64-linux]
@NihalJain ➜ /workspaces/hbase (branch-2) $ cat /etc/os-release
NAME="Ubuntu"
VERSION="20.04.6 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.6 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal{code}
Also, repeated same of RHEL8 machine. Could not reproduce.
Also since HIRB is extending Irb, its should inherit all methods from
{{{}Irb{}}}, so copying of the method should not be needed
{code:java}
# Subclass of IRB so can intercept methods
class HIRB < Irb {code}
So unless we want to customize any method we need not copy a method to our
codebase. This is really weird.
was (Author: nihaljain.cs):
{quote} What version did you test? trunk only? Or also including branch-2?
{quote}
Hi [~apurtell], I had tested both master and branch-2 with JDK17.
I was debugging this issue to understand more on this. Re-tried following on
latest codebase once: with and without patch on master + JDK17.
With patch:
{code:java}
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 4.0.0-alpha-1-SNAPSHOT, rf0b92778981d77c6e839ee4ea0e4a684757ae19c, Fri
Sep 20 05:27:12 UTC 2024
Took 0.0038 seconds
hbase:001:0> puts IRB.CurrentContext
conf.ap_name="hbase"
conf.auto_indent_mode=true
conf.back_trace_limit=0
conf.echo=true
conf.echo_on_assignment=:truncate
conf.extra_doc_dirs=[]
conf.ignore_eof=false
conf.ignore_sigint=true
conf.inspect_method=#<IRB::Inspector:0x497c1d78 @inspect=#<Proc:0x6e349258
uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/irb/inspector.rb:113>,
@init=#<Proc:0x2e590e36
uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/irb/inspector.rb:113>>
conf.inspect_mode=true
conf.io=#<IRB::RelineInputMethod:0x3fc2a1d1>
conf.irb=#<IRB::HIRB:0x752e4223>
conf.irb_name="hbase"
conf.irb_path="(hbase)"
conf.line_no=1
conf.load_modules=[]
conf.newline_before_multiline_output=true
conf.prompt_c="%N:%03n:%i* "
conf.prompt_i="%N:%03n:%i> "
conf.prompt_mode=:CUSTOM
conf.prompt_n=nil
conf.prompt_s="%N:%03n:%i%l "
conf.rc=true
conf.return_format="=> %s\n"
conf.thread=#<Thread:0x7528089c@main run>
conf.use_autocomplete=false
conf.use_multiline=nil
conf.use_singleline=nil
conf.verbose=nil
conf.workspace=#<IRB::WorkSpace:0x136690b1 @main=#<HBaseReceiver:0x39007725
@hbase=#<Hbase::Hbase:0x3eb8057c
@configuration=#<Java::OrgApacheHadoopConf::Configuration:0xb814e23>>,
@shell=#<Shell::Shell:0x2c257c0a @hbase=#<Hbase::Hbase:0x3eb8057c
@configuration=#<Java::OrgApacheHadoopConf::Configuration:0xb814e23>>,
@debug=false, @interactive=true>>, @binding=#<Binding:0x16269ff4>>
hbase:002:0> list
TABLE
0 row(s)
Took 2.7137 seconds
=> []
hbase:003:0> list
TABLE
0 row(s)
Took 0.0092 seconds
=> []
hbase:004:0> quit{code}
Without patch:
{code:java}
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 4.0.0-alpha-1-SNAPSHOT, r52082bc5b80a60406bfaaa630ed5cb23027436c1, Fri
Sep 20 06:20:05 UTC 2024
Took 0.0053 seconds
hbase:001:0> puts IRB.CurrentContext
conf.ap_name="hbase"
conf.auto_indent_mode=true
conf.back_trace_limit=0
conf.echo=true
conf.echo_on_assignment=:truncate
conf.extra_doc_dirs=[]
conf.ignore_eof=false
conf.ignore_sigint=true
conf.inspect_method=#<IRB::Inspector:0x68838767 @inspect=#<Proc:0x293ba26c
uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/irb/inspector.rb:113>,
@init=#<Proc:0x5cff6d1d
uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/irb/inspector.rb:113>>
conf.inspect_mode=true
conf.io=#<IRB::RelineInputMethod:0x3c981f76>
conf.irb=#<IRB::HIRB:0x4844e24b>
conf.irb_name="hbase"
conf.irb_path="(hbase)"
conf.line_no=1
conf.load_modules=[]
conf.newline_before_multiline_output=true
conf.prompt_c="%N:%03n:%i* "
conf.prompt_i="%N:%03n:%i> "
conf.prompt_mode=:CUSTOM
conf.prompt_n=nil
conf.prompt_s="%N:%03n:%i%l "
conf.rc=true
conf.return_format="=> %s\n"
conf.thread=#<Thread:0x2571bdf4@main run>
conf.use_autocomplete=false
conf.use_multiline=nil
conf.use_singleline=nil
conf.verbose=nil
conf.workspace=#<IRB::WorkSpace:0x241abc2 @main=#<HBaseReceiver:0x7e5e7753
@hbase=#<Hbase::Hbase:0x11678469
@configuration=#<Java::OrgApacheHadoopConf::Configuration:0xa0bdbe2>>,
@shell=#<Shell::Shell:0x36c1b6ff @hbase=#<Hbase::Hbase:0x11678469
@configuration=#<Java::OrgApacheHadoopConf::Configuration:0xa0bdbe2>>,
@debug=false, @interactive=true>>, @binding=#<Binding:0x3b28ab9b>>
hbase:002:0> list
TABLE
0 row(s)
Took 2.3309 seconds
=> []
hbase:003:0> {code}
Could not reproduce error.
Also built branch-2 + JDK8 without patch:
{code:java}
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/2.0/book.html#shell
Version 2.7.0-SNAPSHOT, r0dc334f572329be7eb2455cec3519fc820c04c25, Fri Sep 20
06:48:04 UTC 2024
Took 0.0041 seconds
hbase:001:0> JRUBY_VERSION
=> "9.4.8.0"
hbase:002:0> RUBY_VERSION
hbase:003:0> irb_info
=>
Ruby version: 3.1.4
IRB version: irb 1.4.2 (2022-10-03)
InputMethod: ReidlineInputMethod with Reline 0.4.2
.irbrc path: /usr/local/rvm/rubies/ruby-3.3.4/.irbrc
RUBY_PLATFORM: java
LANG env: C.UTF-8
East Asian Ambiguous Width: 1
hbase:004:0> list
TABLE
0 row(s)
Took 1.1939 seconds
=> []
hbase:005:0> puts IRB.CurrentContext
conf.ap_name="hbase"
conf.auto_indent_mode=true
conf.back_trace_limit=0
conf.echo=true
conf.echo_on_assignment=:truncate
conf.extra_doc_dirs=[]
conf.ignore_eof=false
conf.ignore_sigint=true
conf.inspect_method=#<IRB::Inspector:0x31a4db4f @inspect=#<Proc:0xaa794a3
uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/irb/inspector.rb:113>,
@init=#<Proc:0x1dce481b
uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/irb/inspector.rb:113>>
conf.inspect_mode=true
conf.io=#<IRB::RelineInputMethod:0x22cb8e5f>
conf.irb=#<IRB::HIRB:0x45753c22>
conf.irb_name="hbase"
conf.irb_path="(hbase)"
conf.last_value=...
conf.line_no=5
conf.load_modules=[]
conf.newline_before_multiline_output=true
conf.prompt_c="%N:%03n:%i* "
conf.prompt_i="%N:%03n:%i> "
conf.prompt_mode=:CUSTOM
conf.prompt_n=nil
conf.prompt_s="%N:%03n:%i%l "
conf.rc=true
conf.return_format="=> %s\n"
conf.thread=#<Thread:0x7341baa3@main run>
conf.use_autocomplete=false
conf.use_multiline=nil
conf.use_singleline=nil
conf.verbose=nil
conf.workspace=#<IRB::WorkSpace:0x1ca0aa40 @main=#<HBaseReceiver:0x626766fd
@hbase=#<Hbase::Hbase:0xe1fd2bf
@configuration=#<Java::OrgApacheHadoopConf::Configuration:0x28ce75ec>,
@connection=#<Java::OrgApacheHadoopHbaseClient::ConnectionImplementation:0x691eb389>>,
@shell=#<Shell::Shell:0x40edc64e @hbase=#<Hbase::Hbase:0xe1fd2bf
@configuration=#<Java::OrgApacheHadoopConf::Configuration:0x28ce75ec>,
@connection=#<Java::OrgApacheHadoopHbaseClient::ConnectionImplementation:0x691eb389>>,
@admin=#<Hbase::Admin:0x1fec9d33
@conf=#<Java::OrgApacheHadoopConf::Configuration:0x28ce75ec>,
@admin=#<Java::OrgApacheHadoopHbaseClient::HBaseAdmin:0x8e8ceb3>,
@hbck=#<Java::OrgApacheHadoopHbaseClient::HBaseHbck:0x5d67b2b3>,
@connection=#<Java::OrgApacheHadoopHbaseClient::ConnectionImplementation:0x691eb389>>,
@debug=false, @interactive=true>>, @binding=#<Binding:0x7efa366>>
hbase:006:0> {code}
All tests were done on Github codespace. Env details:
{code:java}
@NihalJain ➜ /workspaces/hbase (branch-2) $ lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
Address sizes: 48 bits physical, 48 bits virtual
CPU(s): 2
On-line CPU(s) list: 0,1
Thread(s) per core: 2
Core(s) per socket: 1
Socket(s): 1
NUMA node(s): 1
Vendor ID: AuthenticAMD
CPU family: 25
Model: 1
Model name: AMD EPYC 7763 64-Core Processor
Stepping: 1
CPU MHz: 3240.875
BogoMIPS: 4890.85
Virtualization: AMD-V
Hypervisor vendor: Microsoft
Virtualization type: full
L1d cache: 32 KiB
L1i cache: 32 KiB
L2 cache: 512 KiB
L3 cache: 32 MiB
NUMA node0 CPU(s): 0,1
Vulnerability Gather data sampling: Not affected
Vulnerability Itlb multihit: Not affected
Vulnerability L1tf: Not affected
Vulnerability Mds: Not affected
Vulnerability Meltdown: Not affected
Vulnerability Mmio stale data: Not affected
Vulnerability Retbleed: Not affected
Vulnerability Spec rstack overflow: Vulnerable: Safe RET, no microcode
Vulnerability Spec store bypass: Vulnerable
Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and
__user pointer sanitization
Vulnerability Spectre v2: Mitigation; Retpolines; STIBP disabled; RSB
filling; PBRSB-eIBRS Not affected; BHI Not affected
Vulnerability Srbds: Not affected
Vulnerability Tsx async abort: Not affected
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep
mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext
fxsr_opt pdpe1gb rdt
scp lm constant_tsc rep_good nopl
tsc_reliable nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq ssse3 fma
cx16 pcid sse4_1 sse4_2 mov
be popcnt aes xsave avx f16c rdrand
hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse
3dnowprefetch osvw topoext invpcid_s
ingle vmmcall fsgsbase bmi1 avx2 smep bmi2
erms invpcid rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1
xsaves clzero xsavee
rptr rdpru arat npt nrip_save tsc_scale
vmcb_clean flushbyasid decodeassists pausefilter pfthreshold v_vmsave_vmload
umip vaes vpclmulqdq r
dpid fsrm
@NihalJain ➜ /workspaces/hbase (branch-2) $ ruby -v
ruby 3.3.4 (2024-07-09 revision be1089c8ec) [x86_64-linux]
@NihalJain ➜ /workspaces/hbase (branch-2) $ cat /etc/os-release
NAME="Ubuntu"
VERSION="20.04.6 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.6 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal{code}
Also, repeated same of RHEL8 machine. Could not reproduce.
Also since HIRB is extending Irb, its should inherit all methods from
{{{}Irb{}}}, so copying of the method should not be needed
{code:java}
# Subclass of IRB so can intercept methods
class HIRB < Irb {code}
So unless we want to customize any method we need not add a method to our
codebase. This is really weird.
> NoMethodError undefined method assignment_expression?
> -----------------------------------------------------
>
> Key: HBASE-28864
> URL: https://issues.apache.org/jira/browse/HBASE-28864
> Project: HBase
> Issue Type: Bug
> Components: shell
> Affects Versions: 3.0.0-beta-1, 4.0.0-alpha-1, 2.7.0
> Reporter: Andrew Kyle Purtell
> Assignee: Andrew Kyle Purtell
> Priority: Minor
> Labels: pull-request-available
> Fix For: 4.0.0-alpha-1, 2.7.0, 3.0.0-beta-2
>
>
> After HBASE-28250 Bump jruby to 9.4.8.0 to fix snakeyaml CVE after every
> command the message "NoMethodError undefined method assignment_expression?"
> is printed.
> This is called from code copied from
> https://github.com/ruby/irb/blob/v1.4.2/lib/irb.rb . The fix is to also copy
> over the definition of `assignment_expression`.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)