wilfred-s commented on a change in pull request #124: [YUNIKORN-25] Logging 
improvements
URL: 
https://github.com/apache/incubator-yunikorn-core/pull/124#discussion_r408593877
 
 

 ##########
 File path: pkg/scheduler/scheduler.go
 ##########
 @@ -576,6 +576,11 @@ func (s *Scheduler) schedule() {
                // try reservations first: gets back a node ID if the 
allocation occurs on a node
                // that was not reserved by the app/ask
                alloc := psc.tryReservedAllocate()
+               if alloc != nil {
+                       log.Logger().Debug("try to allocate resources for a 
request from a reservation",
+                               zap.String("allocation", alloc.String()))
+               }
+
 
 Review comment:
   this is already logged in the `scheduling_queue.tryReservedAllocate()`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to