You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Till Rohrmann (Jira)" <ji...@apache.org> on 2019/09/18 06:20:00 UTC
[jira] [Resolved] (FLINK-14069) Enable TimeUtils to parse all time
units labels supported by scala Duration
[ https://issues.apache.org/jira/browse/FLINK-14069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Till Rohrmann resolved FLINK-14069.
-----------------------------------
Resolution: Done
Done via
d3137b29c3837d34ab734b1182c15b32572e41ba
155179fb5a21afd1dd69e28a2f851b51d5d5872e
> Enable TimeUtils to parse all time units labels supported by scala Duration
> ---------------------------------------------------------------------------
>
> Key: FLINK-14069
> URL: https://issues.apache.org/jira/browse/FLINK-14069
> Project: Flink
> Issue Type: Sub-task
> Components: Runtime / Configuration
> Affects Versions: 1.10.0
> Reporter: Zhu Zhu
> Assignee: Zhu Zhu
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.10.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Currently we are using scala Duration to parse duration configs.
> The supported time unit labels are
> {
> DAYS -> "d day",
> HOURS -> "h hour",
> MINUTES -> "min minute",
> SECONDS -> "s sec second",
> MILLISECONDS -> "ms milli millisecond",
> MICROSECONDS -> "µs micro microsecond",
> NANOSECONDS -> "ns nano nanosecond"
> }
> We want to use Flink {{TimeUtils}} to parse the duration configuration, as a step to let flink core get rid of scala dependencies.
> In order not to break existing jobs, {{TimeUtils}} must be able to parse all time unit labels supported by scala Duration.
> Current TimeUtils supported time unit labels are "h", "min", "s" and "ms".
> We need to enrich it.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)