[ 
https://issues.apache.org/jira/browse/HBASE-20345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

saffi updated HBASE-20345:
--------------------------
    Description: 
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:

{{hbase(main):001:0> 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' ... ...}}

Any idea how to make backspace work and prevent this from happening?! Thank you

  was:
I am running HBase in a docker container. Version is 1.2.4

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:

{{hbase(main):001:0> 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' ... ...}}

Any idea how to make backspace work and prevent this from happening?! Thank you


> 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:
> {{hbase(main):001:0> 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' ... ...}}
> 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)

Reply via email to