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 2022/02/24 18:18:00 UTC
[jira] [Updated] (HBASE-26772) Shell suspended in background
[ https://issues.apache.org/jira/browse/HBASE-26772?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter Somogyi updated HBASE-26772:
----------------------------------
Status: Patch Available (was: Open)
> 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
> Priority: Minor
>
> 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)