You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Peter Somogyi (JIRA)" <ji...@apache.org> on 2018/04/04 12:56:00 UTC
[jira] [Commented] (HBASE-20345) HBase shell crash after backspace
[ https://issues.apache.org/jira/browse/HBASE-20345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16425452#comment-16425452 ]
Peter Somogyi commented on HBASE-20345:
---------------------------------------
I don't think it is a problem with hbase shell. I ran a build on branch-1.2, started shell, type something, backspace and no error. Do you see the issue when not running the shell inside hbase-docker?
> HBase shell crash after backspace
> ---------------------------------
>
> Key: HBASE-20345
> URL: https://issues.apache.org/jira/browse/HBASE-20345
> Project: HBase
> Issue Type: Bug
> Components: hbase
> Affects Versions: 1.2.6
> Reporter: saffi
> Priority: Blocker
>
> I am running HBase in a docker container. Version is 1.2.4 (Also tried 1.2.6)
> Basically based on
> {quote}[https://github.com/dajobe/hbase-docker]
> {quote}
> When i do the following:
> 1) Build the image: *docker build -t hbase-docker .*
> 2) Start the container: *./start-hbase.sh*
> 3) Go in the container: *docker exec -it hbase bash*
> 4) Open HBase shell: *hbase shell*
> 5) and then if i type something and press backspace, it crashes with following:
> {code:java}
> hbase(main):001:0> li ConsoleReader.java:1414:in `backspace': java.lang.ArithmeticException: / by zero
> from ConsoleReader.java:1436:in `backspace'
> from ConsoleReader.java:628:in `readLine'
> from ConsoleReader.java:457:in `readLine'
> from Readline.java:237:in `s_readline'
> from Readline$s$s_readline.gen:65535:in `call'
> from CachingCallSite.java:332:in `cacheAndCall'
> from CachingCallSite.java:203:in `call'
> from FCallTwoArgNode.java:38:in `interpret'
> from LocalAsgnNode.java:123:in `interpret'
> from IfNode.java:111:in `interpret'
> from NewlineNode.java:104:in `interpret'
> from ASTInterpreter.java:74:in `INTERPRET_METHOD'
> from InterpretedMethod.java:147:in `call'
> from DefaultMethod.java:183:in `call'
> ...
> ...{code}
>
> Any idea how to make backspace work and prevent this from happening?! Thank you
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)