You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Peter Somogyi (Jira)" <ji...@apache.org> on 2022/02/24 17:57:00 UTC

[jira] [Created] (HBASE-26772) Shell suspended in background

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)