Github user clockfly commented on a diff in the pull request:
https://github.com/apache/incubator-storm/pull/103#discussion_r12410406
--- Diff: storm-core/src/jvm/backtype/storm/utils/Utils.java ---
@@ -373,6 +399,25 @@ public static CuratorFramework newCuratorStarted(Map
conf, List<String> servers,
ret.start();
return ret;
}
+
+ public static void redirectStreamAsync(Process process) {
+ redirectStreamAsync(process.getInputStream(), System.out);
--- End diff --
Hi Taylor,
Yes, you are right. it is used to avoid the worker to hang due to stdout
full. The original demo patch is very big, so I have to break it down to
several patches. The code which use this function will appear in followup pull
request.
---
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.
---