[ https://issues.apache.org/jira/browse/HBASE-20345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16425494#comment-16425494 ]
saffi commented on HBASE-20345: ------------------------------- Hmm, strange! It may be an issue when running hbase shell (inside a docker container). > 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)