[ 
https://issues.apache.org/jira/browse/FLINK-17676?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17107099#comment-17107099
 ] 

Yang Wang commented on FLINK-17676:
-----------------------------------

I am afraid you could not roll the {{.out}} file currently since we do not use 
a log4j to write the stdout file. Maybe we do not have some reasonable ways to 
achieve this unless introducing the stdout/stderr stream redirection. When i 
work on FLINK-17166, we already have some discussion there. 

> Is there some way to rollback the .out file of TaskManager
> ----------------------------------------------------------
>
>                 Key: FLINK-17676
>                 URL: https://issues.apache.org/jira/browse/FLINK-17676
>             Project: Flink
>          Issue Type: Improvement
>            Reporter: JieFang.He
>            Priority: Major
>
> When use .print() API, the result all write to the out file, But there is no 
> way to rollback the out file.
>  
> out in flink-daemon.sh
> {code:java}
> // $JAVA_RUN $JVM_ARGS ${FLINK_ENV_JAVA_OPTS} "${log_setting[@]}" -classpath 
> "`manglePathList "$FLINK_TM_CLASSPATH:$INTERNAL_HADOOP_CLASSPATHS"`" 
> ${CLASS_TO_RUN} "${ARGS[@]}" > "$out" 200<&- 2>&1 < /dev/null &
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to