Peter Somogyi created HBASE-26772:
-------------------------------------
Summary: Shell suspended in background
Key: HBASE-26772
URL: https://issues.apache.org/jira/browse/HBASE-26772
Project: HBase
Issue Type: Bug
Components: shell
Reporter: Peter Somogyi
Assignee: Peter Somogyi
The hbase shell process hangs when running in the background with piped input.
{noformat}
$ cat command.sh
#!/bin/bash
echo "list" | bin/hbase shell > shell.out 2>&1
$ ./command.sh &
[1] 62907
$
[1] + 62907 suspended (tty output) ./command.sh{noformat}
This regression was introduced with JRuby 9.1 -> 9.2 upgrade and the process
hangs on this line:
[https://github.com/apache/hbase/blob/master/hbase-shell/src/main/ruby/jar-bootstrap.rb#L41]
--
This message was sent by Atlassian Jira
(v8.20.1#820001)