You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Kevin Doran (JIRA)" <ji...@apache.org> on 2018/06/16 16:26:00 UTC

[jira] [Comment Edited] (NIFI-3899) nifi.sh/bootstrap hangs when controlled by Saltstack

    [ https://issues.apache.org/jira/browse/NIFI-3899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16514834#comment-16514834 ] 

Kevin Doran edited comment on NIFI-3899 at 6/16/18 4:25 PM:
------------------------------------------------------------

The file in its current state indicates it was an intentional choice not to redirect stderr. From the [commit comment|https://github.com/apache/nifi/commit/58cf15a912b5413a4a6e511352b4dac4f7a5dfdd]: 
{quote}Pipe stdout to /dev/null and allow stderr to propagate through. 
{quote}
I'm happy to submit a change that changes this line to end in *{{2>&1}}*, redirecting both stderr and stdout to {{/dev/null}}, but I'm not sure if that breaks other use cases / purposes / assumptions about stderr ouput. [~aldrin], can you comment?


was (Author: kdoran):
The file in its current state indicates it was an intentional choice not to redirect stderr. From the [commit comment|https://github.com/apache/nifi/commit/58cf15a912b5413a4a6e511352b4dac4f7a5dfdd]: 
{quote}Pipe stdout to /dev/null and allow stderr to propagate through. 
{quote}
I'm happy to submit a change that changes this line to end in *{{2>&1}}*, redirecting both stderr and stdout to {{/dev/null}}, but I'm not sure if that breaks other use cases or purposes for stderr. [~aldrin], can you comment?

> nifi.sh/bootstrap hangs when controlled by Saltstack
> ----------------------------------------------------
>
>                 Key: NIFI-3899
>                 URL: https://issues.apache.org/jira/browse/NIFI-3899
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Tools and Build
>    Affects Versions: 1.2.0, 1.3.0, 1.4.0, 1.5.0, 1.6.0
>            Reporter: Joseph Gresock
>            Priority: Major
>
> It was reported that the changes to revert how the process was started have caused NiFi to hang when driven by SaltStack even with the following PR that resolved the two issues listed in NIFI-2199 & NIFI-3112
> This was reported here https://github.com/apache/nifi/pull/1786 in comment https://github.com/apache/nifi/pull/1786#issuecomment-301080248



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)