Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-33752

When Duration is greater than or equal to 1 day, the display unit is ms.

Agile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    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.

       

       

       

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            fanrui Rui Fan
            fanrui Rui Fan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment