[ 
https://issues.apache.org/jira/browse/HBASE-16196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16196348#comment-16196348
 ] 

Chia-Ping Tsai edited comment on HBASE-16196 at 10/8/17 10:42 PM:
------------------------------------------------------------------

The {{gets}} of jruby 9.x can't handle the {{Control-M}} which is used as the 
character of {{ENTER}}. It causes trouble if hbase shell prompts the user for 
choices(y/n). There is a related 
[issue|https://github.com/jruby/jruby/issues/1372] in jruby but it hasn't be 
resolved yet. We should remind user to use {{Ctrl-J}} instead. [~mdrob] 
[~busbey] WDYT? 


was (Author: chia7712):
jruby 9.x can't handle the {{Control-M}} which is used as the character of 
{{ENTER}}. It causes trouble if hbase shell prompts the user for choices(y/n). 
There is a related [issue|https://github.com/jruby/jruby/issues/1372] in jruby 
but it hasn't be resolved yet. We should remind user to use {{Ctrl-J}} instead. 
[~mdrob] [~busbey] WDYT? 

> Update jruby to a newer version.
> --------------------------------
>
>                 Key: HBASE-16196
>                 URL: https://issues.apache.org/jira/browse/HBASE-16196
>             Project: HBase
>          Issue Type: Improvement
>          Components: dependencies, shell
>            Reporter: Elliott Clark
>            Assignee: Mike Drob
>            Priority: Critical
>             Fix For: 2.0.0
>
>         Attachments: 0001-Update-to-JRuby-9.1.2.0-and-JLine-2.12.patch, 
> HBASE-16196-branch-1.v9.patch, HBASE-16196.v5.patch, HBASE-16196.v6.patch, 
> HBASE-16196.v7.patch, HBASE-16196.v8.patch, HBASE-16196.v9.patch, 
> hbase-16196.branch-1.patch, hbase-16196.v2.branch-1.patch, 
> hbase-16196.v3.branch-1.patch, hbase-16196.v4.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.4.14#64029)

Reply via email to