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

Improve logging of infinite resource profile

    XMLWordPrintableJSON

Details

    Description

      After we set task memory and CPU to infinity inĀ FLINK-15763, it spoiled the logs:

      00:23:49,442 INFO org.apache.flink.runtime.taskexecutor.slot.TaskSlotTableImpl - Free slot TaskSlot(index:0, state:ACTIVE, resource profile: ResourceProfile{cpuCores=44942328371557892500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000.0000000000000000, taskHeapMemory=2097152.000tb (2305843009213693951 bytes), taskOffHeapMemory=2097152.000tb (2305843009213693951 bytes), managedMemory=20.000mb (20971520 bytes), networkMemory=16.000mb (16777216 bytes)}, allocationId: 349dacfbf1ac4d0b44a2d11e1976d264, jobId: 689a0cf24b40f16b6f45157f78754c46).
      

      We should treat the infinity as a special case and print it accordingly

      Attachments

        Issue Links

          Activity

            People

              azagrebin Andrey Zagrebin
              azagrebin Andrey Zagrebin
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m