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

Jeffrey Manno resolved ACCUMULO-3716.
-------------------------------------
    Resolution: Not A Problem

This was inadvertently fixed with the upgrade to jlin3: 
[https://github.com/apache/accumulo/pull/1824.] 

If you still run into this problem or something similar, please feel free to 
open a new issue at https://github.com/apache/accumulo/issues

> 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
>
> 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
(v8.3.4#803005)

Reply via email to