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.

    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

        1. image-2023-12-05-19-58-07-737.png
          549 kB
          Rui Fan
        2. image-2023-12-05-19-44-17-161.png
          104 kB
          Rui Fan

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: