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

The nodes with negative resources health check prints partitions instead of nodes

    XMLWordPrintableJSON

Details

    Description

      The nodes with negative resources health check has a typo where it correctly checks if any nodes have negative resources, but the value it prints in the log message is wrong. It instead prints partitions with negative resources. It looks like a simple copy paste typo.

       

      For example:

      In the health check logs I was seeing 

      {"Name":"Negative resources","Succeeded":false,"Description":"Check for negative resources in the nodes","DiagnosisMessage":"Nodes with negative resources: []"}

      If this log is saying there are nodes with negative resources, I would expect the array at the end to not be empty.

       

      I have a fix for this here https://github.com/apache/yunikorn-core/pull/482

      Attachments

        Issue Links

          Activity

            People

              elischiff Eli Schiff
              elischiff Eli Schiff
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: