GitHub user michalklempa opened a pull request:
https://github.com/apache/nifi/pull/1092
Fixes NIFI-2199 nifi.sh hangs on restart through ssh
When nifi.sh is executed remotely through ssh:
```
ssh [email protected] /etc/init.d/nifi restart
```
SSH session hang forever, due to unclosed STDIN/OUT/ERR streams in nifi
process. Redirecting these streams from and to `/dev/null` fixes the problem.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/michalklempa/nifi NIFI-2199_nifi_sh_hangs
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nifi/pull/1092.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 #1092
----
commit 6488bdec2a429b735a02949694ff8876ae91d22e
Author: Michal Klempa <[email protected]>
Date: 2016-10-04T10:18:46Z
Fixes NIFI-2199 nifi.sh hangs on restart through ssh
----
---
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.
---