[
https://issues.apache.org/jira/browse/HBASE-27585?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17683675#comment-17683675
]
Rajeshbabu Chintaguntla commented on HBASE-27585:
-------------------------------------------------
The test case failure is because of java_kind_of method removed in latest
versions of Jruby which can be changed to kind_of method so that test cases can
pass. [~zhangduo] I can change the test case and raise a ticket.
{noformat}
*--- a/hbase-shell/src/main/ruby/hbase/security.rb*
*+++ b/hbase-shell/src/main/ruby/hbase/security.rb*
@@ -182,7 +182,7 @@ module Hbase
end
def isTablePermission?(permission)
-
permission.java_kind_of?(org.apache.hadoop.hbase.security.access.TablePermission)
+
permission.kind_of?(org.apache.hadoop.hbase.security.access.TablePermission)
end
{noformat}
> Bump up jruby to 9.3.9.0 and related joni and jcodings to 2.1.43 and 1.0.57
> respectively
> ----------------------------------------------------------------------------------------
>
> Key: HBASE-27585
> URL: https://issues.apache.org/jira/browse/HBASE-27585
> Project: HBase
> Issue Type: Bug
> Components: jruby, security, shell
> Reporter: Rajeshbabu Chintaguntla
> Assignee: Rajeshbabu Chintaguntla
> Priority: Major
> Fix For: 2.6.0, 3.0.0-alpha-4
>
>
> Bump up Jruby to 9.3.9.0 to ensure compliance which has multiple CVEs fixed
> related to openssl,snakeyaml etc.
> * rdoc has been updated to 6.3.3 to fix all known CVEs.
> ([#7396|https://github.com/jruby/jruby/issues/7396],
> [#7404|https://github.com/jruby/jruby/issues/7404])
> * rexml has been updated to 3.2.5 to fix all known CVEs.
> ([#7395|https://github.com/jruby/jruby/issues/7395],
> [#7405|https://github.com/jruby/jruby/issues/7405])
> * jruby-openssl has been updated to 0.14.0 to fix weak HMAC key hashing in
> bouncycastle, which itself is updated to 1.71.
> ([#7335|https://github.com/jruby/jruby/issues/7335],
> [#7385|https://github.com/jruby/jruby/issues/7385],
> [#7399|https://github.com/jruby/jruby/issues/7399])
> * psych has been updated to 3.3.4 to fix CVE-2022-38752 in the SnakeYAML
> library, which itself is updated to 1.33.
> ([#7386|https://github.com/jruby/jruby/issues/7386],
> [#7388|https://github.com/jruby/jruby/issues/7388],
> [#7400|https://github.com/jruby/jruby/issues/7400])
> * rubygems has been updated to 3.2.33 and bundler updated to 2.2.33 to
> address CVE-2021-43809. ([#7397|https://github.com/jruby/jruby/issues/7397],
> [#7401|https://github.com/jruby/jruby/issues/7401])
--
This message was sent by Atlassian Jira
(v8.20.10#820010)