[
https://issues.apache.org/jira/browse/HBASE-16196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matt Mullins updated HBASE-16196:
---------------------------------
Attachment: hbase-16196.v3.branch-1.patch
The fix for the previous {{$LOAD_PATH}} confusion was simple — Ruby 1.9+ adds
{{require_relative}}, so I've used that for {{region_mover.rb}}.
I have manually tested {{region_mover.rb}}, {{draining_servers.rb}},
{{get-active-master.rb}}, {{region_status.rb}} and
{{shutdown_regionserver.rb}}, and I haven't noticed any problems. Since I also
touched {{taskmonitor.rb}}, I specifically verified that the shell's
{{processlist}} command does still function and does not have trouble finding
Jackson classes.
> Update jruby to a newer version.
> --------------------------------
>
> Key: HBASE-16196
> URL: https://issues.apache.org/jira/browse/HBASE-16196
> Project: HBase
> Issue Type: Bug
> Components: dependencies, shell
> Reporter: Elliott Clark
> Assignee: Matt Mullins
> Priority: Critical
> Fix For: 2.0.0, 1.4.0
>
> Attachments: 0001-Update-to-JRuby-9.1.2.0-and-JLine-2.12.patch,
> hbase-16196.branch-1.patch, hbase-16196.v2.branch-1.patch,
> hbase-16196.v3.branch-1.patch
>
>
> Ruby 1.8.7 is no longer maintained.
> The TTY library in the old jruby is bad. The newer one is less bad.
> Since this is only a dependency on the hbase-shell module and not on
> hbase-client or hbase-server this should be a pretty simple thing that
> doesn't have any backwards compat issues.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)