GitHub user aledsage opened a pull request:
https://github.com/apache/brooklyn-server/pull/731
BROOKLYN-440: ssh not use StreamGobbler for logging stdout
Improves thread usage when executing ssh remote commands. Simplifies the
code to use a new `LoggingOutputStream`, rather than using the `StreamGobbler`
thread.
@neykov I'd appreciate your thoughts. It only does the first part of
https://issues.apache.org/jira/browse/BROOKLYN-440; it doesn't do your
suggestion of having the single thread polling to see if the streams have any
bytes available.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/aledsage/brooklyn-server BROOKLYN-440
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/brooklyn-server/pull/731.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 #731
----
commit e45a28fd1ce54c9229f65af2ea7685edb9fff7a2
Author: Aled Sage <[email protected]>
Date: 2017-06-10T23:19:22Z
BROOKLYN-440: ssh not use StreamGobbler for logging stdout
----
---
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.
---