[
https://issues.apache.org/jira/browse/FLINK-20713?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
muzimusi updated FLINK-20713:
-----------------------------
Description:
It is meaningful for out / err files to support scrolling. In particular, when
you have to use stdout , writing out files continuously will eventually fill
the disk. Similarly, err files will finally fill the disk when the job is keep
rebooting with errors.
Recently, I saw some people asking for 'taskmanager.out rolling' in the
[community
email|http://apache-flink.147419.n8.nabble.com/taskmanager-out-td9084.html]. We
happened to have done this, hoping to help those in need.
The following is our implementation:
a) Redirect stdout/stderr to logger .
b) Flinkonyarn/Flinkonk8s/standalone already supports stdout/stderr
redirection。
c) Provide the default log4J configuration.
flinkonyarn.png
!redirect.jpg!
was:
It is meaningful for out / err files to support scrolling. In particular, when
you have to use stdout , writing out files continuously will eventually fill
the disk. Similarly, err files will finally fill the disk when the job is keep
rebooting with errors.
Recently, I saw some people asking for 'taskmanager.out rolling' in the
[community
email|http://apache-flink.147419.n8.nabble.com/taskmanager-out-td9084.html]. We
happened to have done this, hoping to help those in need.
The following is our implementation:
a) Redirect stdout/stderr to logger .
b) Flinkonyarn/Flinkonk8s/standalone already supports stdout/stderr
redirection。
c) Already provide the default log4J configuration.
flinkonyarn.png
!redirect.jpg!
> out/err file support rolling
> ----------------------------
>
> Key: FLINK-20713
> URL: https://issues.apache.org/jira/browse/FLINK-20713
> Project: Flink
> Issue Type: New Feature
> Components: API / Core, Runtime / Configuration
> Reporter: muzimusi
> Priority: Minor
> Attachments: redirect.jpg
>
>
> It is meaningful for out / err files to support scrolling. In particular,
> when you have to use stdout , writing out files continuously will eventually
> fill the disk. Similarly, err files will finally fill the disk when the job
> is keep rebooting with errors.
> Recently, I saw some people asking for 'taskmanager.out rolling' in the
> [community
> email|http://apache-flink.147419.n8.nabble.com/taskmanager-out-td9084.html].
> We happened to have done this, hoping to help those in need.
> The following is our implementation:
> a) Redirect stdout/stderr to logger .
> b) Flinkonyarn/Flinkonk8s/standalone already supports stdout/stderr
> redirection。
> c) Provide the default log4J configuration.
>
> flinkonyarn.png
> !redirect.jpg!
--
This message was sent by Atlassian Jira
(v8.3.4#803005)