[
https://issues.apache.org/jira/browse/FLINK-33752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rui Fan updated FLINK-33752:
----------------------------
Description:
When the default value of Duration is 24 hours or 1 day, the display unit is
ms. (86400000 ms).
For example, the kubernetes operator doc has 3 options, their default value are
86400000 ms.
[https://nightlies.apache.org/flink/flink-kubernetes-operator-docs-main/docs/operations/configuration/]
This bug from org.apache.flink.util.TimeUtils#formatWithHighestUnit, and it can
be reproduced by TimeUtilsPrettyPrintingTest.
!image-2023-12-05-19-58-07-737.png|width=1247,height=957!
!image-2023-12-05-19-44-17-161.png!
was:
When the default value of Duration is 24 hours or 1 day, the display unit is
ms. (86400000 ms).
For example, the kubernetes operator doc has 3 options, their default value are
86400000 ms.
https://nightlies.apache.org/flink/flink-kubernetes-operator-docs-main/docs/operations/configuration/
!image-2023-12-05-19-44-17-161.png!
> When Duration is greater than or equal to 1 day, the display unit is ms.
> ------------------------------------------------------------------------
>
> Key: FLINK-33752
> URL: https://issues.apache.org/jira/browse/FLINK-33752
> Project: Flink
> Issue Type: Bug
> Components: Runtime / Configuration
> Affects Versions: 1.18.0
> Reporter: Rui Fan
> Assignee: Rui Fan
> Priority: Major
> Fix For: 1.19.0, 1.18.1
>
> Attachments: image-2023-12-05-19-44-17-161.png,
> image-2023-12-05-19-58-07-737.png
>
>
> When the default value of Duration is 24 hours or 1 day, the display unit is
> ms. (86400000 ms).
>
> For example, the kubernetes operator doc has 3 options, their default value
> are 86400000 ms.
> [https://nightlies.apache.org/flink/flink-kubernetes-operator-docs-main/docs/operations/configuration/]
>
> This bug from org.apache.flink.util.TimeUtils#formatWithHighestUnit, and it
> can be reproduced by TimeUtilsPrettyPrintingTest.
>
> !image-2023-12-05-19-58-07-737.png|width=1247,height=957!
>
>
> !image-2023-12-05-19-44-17-161.png!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)