You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Thomas Weise (JIRA)" <ji...@apache.org> on 2018/12/18 15:32:00 UTC

[jira] [Updated] (FLINK-8822) RotateLogFile may not work well when sed version is below 4.2

     [ https://issues.apache.org/jira/browse/FLINK-8822?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Weise updated FLINK-8822:
--------------------------------
    Fix Version/s:     (was: 1.5.6)

> RotateLogFile may not work well when sed version is below 4.2
> -------------------------------------------------------------
>
>                 Key: FLINK-8822
>                 URL: https://issues.apache.org/jira/browse/FLINK-8822
>             Project: Flink
>          Issue Type: Bug
>    Affects Versions: 1.4.0
>            Reporter: Xin Liu
>            Priority: Major
>
> In bin/config.sh rotateLogFilesWithPrefix(),it use extended regular to process filename with "sed -E",but when sed version is below 4.2,it turns out "sed: invalid option -- 'E'"
> and RotateLogFile won't work well : There will be only one logfile no matter what is $MAX_LOG_FILE_NUMBER.
> so use sed -r may be more suitable.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)