Uploaded image for project: 'Apache YuniKorn'
  1. Apache YuniKorn
  2. YUNIKORN-663

Improve log messages in node.go

    XMLWordPrintableJSON

Details

    Description

      There are some places when the log message did not have any identity information, for example when the occupied resources are set (https://github.com/apache/incubator-yunikorn-k8shim/blob/master/pkg/cache/node.go#L115) we log a message that this is happening, but there is no node ID mentioned, so this message in this form is totally useless.

      An another example is when an allocation added: (https://github.com/apache/incubator-yunikorn-k8shim/blob/master/pkg/cache/node.go#L107)

      We should revisit this log messages and extend them with some identification related information. At least with the nodeID.

       

      Attachments

        Issue Links

          Activity

            People

              Yukali Chen Yu Teng
              kmarton Kinga Marton
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: