GitHub user tillrohrmann opened a pull request:

    https://github.com/apache/incubator-zeppelin/pull/288

    [ZEPPELIN-287] Adds proper standard output capturing to FlinkInterpreter

    The `FlinkInterpreter` only captures output to `Console` and, thus, misses 
all output which goes to `System.out`. Some of Flink's functions, such as 
`DataSet[T].print()`, print their results to `System.out`. Consequently 
Zeppelin's interpreter misses this output. This PR fixes this behaviour by 
redirecting `System.out` and by setting `System.out` as the `PrintStream` for 
`Console`.

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

    $ git pull https://github.com/tillrohrmann/incubator-zeppelin 
fixSysoutCapturing

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

    https://github.com/apache/incubator-zeppelin/pull/288.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 #288
    
----
commit d2820ad4592594fd46a9afc5018e328d6bdd8f61
Author: Till Rohrmann <trohrm...@apache.org>
Date:   2015-09-07T13:03:52Z

    [ZEPPELIN-287] Adds proper standard output capturing to FlinkInterpreter

----


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to