You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Kyle Purtell (Jira)" <ji...@apache.org> on 2024/09/20 00:11:00 UTC
[jira] [Commented] (HBASE-28864) NoMethodError undefined method assignment_expression?
[ https://issues.apache.org/jira/browse/HBASE-28864?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17883133#comment-17883133 ]
Andrew Kyle Purtell commented on HBASE-28864:
---------------------------------------------
An example..
{noformat}
The shell is functional but is printing a warning for a NoMethodError after every statement execution. Filed as a User Story because there is no build yet for hbase.13.13 so I can't do it as a Bug. Probably a P2.
For example:
{noformat}
hbase:001:0> list
TABLE
TestTable
1 row(s)
Took 0.0877 seconds
Traceback (most recent call last):
NoMethodError (undefined method `assignment_expression?' for #<IRB::HIRB:0x631bc9f4>)
Maybe IRB bug!
{noformat}
> 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: Major
> 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)