[
https://issues.apache.org/jira/browse/FLINK-8822?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aljoscha Krettek closed FLINK-8822.
-----------------------------------
Fix Version/s: 1.10.0
Assignee: Aljoscha Krettek
Resolution: Fixed
Fixed in 711f4ce258fd14d2718b2642ef4ee27803c5ca09
> 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
> Components: Command Line Client
> Affects Versions: 1.4.0
> Reporter: Xin Liu
> Assignee: Aljoscha Krettek
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.10.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> 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
(v8.3.4#803005)