accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Tubbs (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ACCUMULO-3716) Accumulo shell run with -e or -f waits on stdin when run in the background
Date Thu, 09 Apr 2015 22:11:12 GMT

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

Christopher Tubbs updated ACCUMULO-3716:
----------------------------------------
    Fix Version/s: 1.7.1
                   1.8.0
                   1.6.3

> Accumulo shell run with -e or -f waits on stdin when run in the background
> --------------------------------------------------------------------------
>
>                 Key: ACCUMULO-3716
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3716
>             Project: Accumulo
>          Issue Type: Bug
>          Components: shell
>    Affects Versions: 1.6.2
>            Reporter: Bill Oley
>            Priority: Minor
>             Fix For: 1.6.3, 1.8.0, 1.7.1
>
>
> I'm writing a script that invokes accumulo shell -u <userame> -p <password>
-f <filename>.
> This bug can also be reproduced using 
> accumulo shell -u <userame> -p <password> -e "<command>"
> Whenever the script is backgrounded, the job goes to "Stopped" because the accumulo shell
is trying to read from stdin even though all of its input should be coming from the content
in the -f or -e parameter.
> accumulo shell -u <userame> -p <password> -e "tables" > /tmp/test &
> is sufficient to reproduce the bug.
> Redirecting stdin from /dev/null doesn't seem to work
> Closing stdin before closing it doesn't seem to work.
> Starting the script (or the accumulo command) with nohup doesn't seem to work.
> The issue seems to be the ConsoleReader that is created in the constructor even when
the -e or -f switches are used.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message