GitHub user apiri opened a pull request:

    https://github.com/apache/nifi/pull/1786

    NIFI-2199 & NIFI-3112 - Handle propagation of stderr and allow ssh restart

    NIFI-2199
    NIFI-3112
    Pipe stdout to /dev/null and allow stderr to propagate through.
    
    This correction does not make NiFi fully LSB spec compliant but does solve 
the two issues presented in the listed tickets.  This will allow stderr to 
propagate through and restart through SSH.
    
    ssh can be tested by issuing a 
    `ssh user@remote-host <path to nifi>/bin/nifi.sh restart`
    from a local machine to a remote host
    
    3112 can be verified by changing a property to bootstrap causing it to be 
invalid and running the above.  As listed in the prior discussion of 3112, 
making `graceful.shutdown.seconds` a negative number such as below:
    > graceful.shutdown.seconds=-20
    
    Will cause an error to be triggered and the appropriate contents 
transmitted.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/apiri/incubator-nifi nifi-2199

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/nifi/pull/1786.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1786
    
----
commit 1273e4c60527993385a95b4df3428d1d24bca342
Author: Aldrin Piri <[email protected]>
Date:   2017-05-11T20:35:16Z

    NIFI-2199
    NIFI-3112
    Pipe stdout to /dev/null and allow stderr to propagate through.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to