You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/01/25 06:10:26 UTC
[jira] [Commented] (FLINK-5634) Flink should not always redirect
stdout to a file.
[ https://issues.apache.org/jira/browse/FLINK-5634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15837250#comment-15837250 ]
ASF GitHub Bot commented on FLINK-5634:
---------------------------------------
GitHub user jgrier opened a pull request:
https://github.com/apache/flink/pull/3204
[FLINK-5634] Flink should not always redirect stdout to a file.
Adding flag to flink-daemon.sh and related scripts so that we can actually log to the console -- which is better for Docker environments. Also modifying Docker entrypoint to use this.
There is a follow on PR with many more changes to the Docker scripts and tooling based on this one.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jgrier/flink no-stdout-redirect
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/3204.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 #3204
----
commit 5f6a9671816a16b810990a10310f994898e9ba41
Author: Jamie Grier <ja...@gmail.com>
Date: 2017-01-21T00:14:27Z
Adding flag to flink-daemon.sh and related scripts so that we can actually log to the console -- which is better for Docker environments.
----
> Flink should not always redirect stdout to a file.
> --------------------------------------------------
>
> Key: FLINK-5634
> URL: https://issues.apache.org/jira/browse/FLINK-5634
> Project: Flink
> Issue Type: Bug
> Components: Docker
> Affects Versions: 1.2.0
> Reporter: Jamie Grier
> Fix For: 1.2.0
>
>
> Flink always redirects stdout to a file. While often convenient this isn't always what people want. The most obvious case of this is a Docker deployment.
> It should be possible to have Flink log to stdout.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)